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
e6410c536c
Backport of weakref.WeakSet and tests from Python 3.
2010-03-29 20:04:23 +00:00
Michael Foord
a7e08fe3f8
Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals and assertNotAlmostEquals
...
This allows the comparison of objects by specifying a maximum difference; this includes the comparing of non-numeric objects that don't support rounding.
2010-03-27 19:10:11 +00:00
Michael Foord
b35ecf4775
Rename the unittest test_suite function to not clash with a test module name (unittest.test.test_suite is now unambiguous).
2010-03-27 13:42:34 +00:00
Michael Foord
ff889396a8
A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython)
2010-03-27 12:55:19 +00:00
Michael Foord
fa2f1cdcbb
Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly
2010-03-26 03:18:31 +00:00
Michael Foord
ee627883a7
Move a support TestCase out of the main namespace in unittest.test.test_suite
2010-03-26 02:53:56 +00:00
Michael Foord
95ac82bfc6
Remove incorrect docstring in unittest.test
2010-03-26 00:03:38 +00:00
Michael Foord
35b3792ed3
Turn unittest tests into a package
2010-03-25 23:56:33 +00:00