Commit Graph

13 Commits

Author SHA1 Message Date
Michael Foord f6ff26c486 unittest.result.TestResult does not create its buffers until they're used. It uses StringIO not cStringIO. Issue 8333. 2010-04-07 23:04:22 +00:00
Michael Foord 9b4ee12e89 Cross platform unittest.TestResult newline handling when buffering stdout / stderr. 2010-04-03 02:21:39 +00:00
Michael Foord 25d7976014 unittest tests no longer replace the sys.stdout put in place by regrtest 2010-04-02 22:30:56 +00:00
Michael Foord 58c1e78806 TestResult stores original sys.stdout and tests no longer use sys.__stdout__ (etc) in tests for unittest -b command line option 2010-04-02 22:08:29 +00:00
Michael Foord 5637f04a94 Addition of -b command line option to unittest for buffering stdout and stderr during test runs. 2010-04-02 21:42:47 +00:00
Michael Foord 0ce167277a expected failure should not trigger failfast behavior in unittest. 2010-03-22 01:56:54 +00:00
Michael Foord 1b9e95339d -f/--failfast command line option for unittest. Issue 8074. Documentation still needed. Plus minor change to test_unittest to allow it to be run with python -m test.unittest 2010-03-22 01:01:34 +00:00
Michael Foord b1aa30f94d Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest. 2010-03-22 00:06:30 +00:00
Michael Foord 5ffa325a82 Addition of setUpClass and setUpModule shared fixtures to unittest. 2010-03-07 22:04:55 +00:00
Michael Foord d99ef9a9df unittest.TestResult can now be used with the TextTestRunner. TextTestRunner compatible with old TestResult objects. 2010-02-23 17:00:53 +00:00
Michael Foord ae3db0a12b Support for old TestResult object (unittest) with warnings when using unsupported features. 2010-02-22 23:28:32 +00:00
Michael Foord db43b5a1f5 Issue 7893 and Issue 7588 2010-02-10 14:25:12 +00:00
Benjamin Peterson d7b0eebcae split unittest.py into a package 2009-07-19 20:18:21 +00:00