summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
Commit message (Collapse)AuthorAgeFilesLines
* Use "regexp" consistently.Georg Brandl2010-02-071-8/+8
|
* unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799.Michael Foord2010-02-061-1/+2
|
* Correction to docstring correction.Michael Foord2010-02-051-1/+1
|
* Improving docstrings in unittest.TestCaseMichael Foord2010-02-051-5/+15
|
* Fix typo in assertSequenceEqual docstring.R. David Murray2010-01-291-1/+1
|
* Change error report when the object passed to suite.addTest is notR. David Murray2010-01-281-1/+1
| | | | callable to include the repr of the invalid object.
* Issue #7092: Fix the DeprecationWarnings emitted by the standard libraryAntoine Pitrou2010-01-041-3/+9
| | | | when using the -3 flag. Patch by Florent Xicluna.
* More yearly updates.Georg Brandl2010-01-011-1/+1
|
* now that deepcopy can handle instance methods, this hack can be removed #7409Benjamin Peterson2009-11-291-13/+2
| | | | Thanks Robert Collins
* Backport micro-fix from the py3k svnmergeAntoine Pitrou2009-11-101-1/+1
|
* Issue #7197: Allow unittest.TextTestRunner objects to be pickled andAntoine Pitrou2009-11-101-0/+2
| | | | | | | unpickled. This fixes crashes under Windows when trying to run test_multiprocessing in verbose mode. Additionally, Test_TextTestRunner hadn't been enabled in test_unittest.
* #7031: Add TestCase.assertIsInstance and negated method.Georg Brandl2009-10-011-0/+13
|
* Fix some weird whitespace and two other overlong lines.Georg Brandl2009-10-011-4/+7
|
* Test creation moved from TestProgram.parseArgs to TestProgram.createTests ↵Michael Foord2009-09-271-5/+8
| | | | exclusively. Issue 6956.
* Test discovery in unittest will only attempt to import modules that are ↵Michael Foord2009-09-132-16/+46
| | | | importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
* unittest.TestLoader.loadTestsFromName honors the loader suiteClass ↵Michael Foord2009-09-131-2/+2
| | | | attribute. Issue 6866.
* Objects that compare equal automatically pass or fail assertAlmostEqual and ↵Michael Foord2009-09-131-1/+9
| | | | assertNotAlmostEqual tests on unittest.TestCase. Issue 6567.
* issue 6275Kristján Valur Jónsson2009-08-271-0/+1
| | | | Add an "exc_value" attribute to the _AssertRaisesContext context manager in the unittest package. This allows further tests on the exception that was raised after the context manager exits.
* split unittest.py into a packageBenjamin Peterson2009-07-199-0/+1773