Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #29274: tests cases → test cases | Martin Panter | 2017-01-18 | 1 | -4/+4 |
| | |||||
* | Reverted issue #24134 changes. | Serhiy Storchaka | 2015-05-16 | 1 | -5/+0 |
| | |||||
* | Issue #24134: assertRaises() and assertRaisesRegexp() checks are not longer | Serhiy Storchaka | 2015-05-06 | 1 | -0/+46 |
| | | | | | | successful if the callable is None. Added tests for assertRaises(). | ||||
* | #22092: use absolute imports in unittest tests. Patch by Vajrasky Kok. | Ezio Melotti | 2014-08-07 | 7 | -5/+8 |
| | |||||
* | backport: #20145: assertRaisesRegexp now raises a TypeError on bad regex. | R David Murray | 2014-03-25 | 1 | -0/+6 |
| | | | | | Previously a non-string, non-regex second argument and no callable argument could cause the test to appear to always pass. | ||||
* | Issue #19594: Use specific asserts in unittest tests. | Serhiy Storchaka | 2013-11-16 | 3 | -9/+9 |
| | |||||
* | Issue #19352: Fix unittest discovery when a module can be reached through ↵ | Antoine Pitrou | 2013-10-23 | 1 | -1/+23 |
| | | | | several paths (e.g. under Debian/Ubuntu with virtualenv). | ||||
* | Closes issue 14971. | Michael Foord | 2013-09-08 | 1 | -0/+15 |
| | | | | | unittest test discovery no longer gets confused when a function has a different __name__ than its name in the TestCase class dictionary. | ||||
* | Silence deprecation warning in test_unittest for 'None > 1'. | Terry Jan Reedy | 2013-09-01 | 1 | -1/+1 |
| | | | | This is the same change that was made in 3.x when this became an error. | ||||
* | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 |
| | |||||
* | #18663: document that assertAlmostEqual also works when the values are equal ↵ | Ezio Melotti | 2013-08-11 | 1 | -0/+4 |
| | | | | and add tests. | ||||
* | Correction to issue 17052 fix | Michael Foord | 2013-02-11 | 1 | -1/+1 |
| | |||||
* | Issue 17502: unittest discovery should use self.testLoader | Michael Foord | 2013-02-10 | 1 | -0/+14 |
| | |||||
* | Issue 15505. unittest.installHandler and non callable signal handlers | Michael Foord | 2013-01-29 | 1 | -0/+32 |
| | |||||
* | Pass on parameters in unittest.TextTestResult.__init__ super call | Michael Foord | 2012-09-28 | 1 | -0/+13 |
| | |||||
* | Issue #14664: It is now possible to use @unittest.skip{If,Unless} on a test ↵ | Antoine Pitrou | 2012-04-25 | 1 | -0/+30 |
| | | | | class that doesn't inherit from TestCase (i.e. a mixin). | ||||
* | Issue 10326: Fix regression to get test cases to pickle again. | Raymond Hettinger | 2011-06-25 | 1 | -0/+15 |
| | |||||
* | Fix deprecation warnings in test_unittest. | Ezio Melotti | 2011-05-09 | 1 | -4/+4 |
| | |||||
* | #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings ↵ | Ezio Melotti | 2011-04-27 | 1 | -0/+36 |
| | | | | are too long. | ||||
* | Issue #10979. unittest stdout buffering now works for class and module fixtures. | Michael Foord | 2011-03-17 | 1 | -0/+67 |
| | |||||
* | Issue #10242: backport of more fixes to unittest.TestCase.assertItemsEqual | Michael Foord | 2011-03-17 | 2 | -20/+26 |
| | |||||
* | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | Issue 10242. Switching unittest.TestCase.assertItemsEqual to use a ↵ | Michael Foord | 2010-12-19 | 1 | -0/+5 |
| | | | | | | collections.Counter under the hood. This fixes bugs when comparing collections of items like sets that can be sorted without raising an exception but where sorting has no meaning. | ||||
* | Issue 10611. SystemExit should not cause a unittest test run to exit. | Michael Foord | 2010-12-19 | 1 | -0/+52 |
| | |||||
* | Improvement to fix for issue 9926 to allow TestResult to be reused. | Michael Foord | 2010-12-19 | 1 | -1/+5 |
| | |||||
* | Merged revisions 87377 via svnmerge from | Ezio Melotti | 2010-12-18 | 1 | -4/+4 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87377 | ezio.melotti | 2010-12-18 18:31:58 +0100 (Sat, 18 Dec 2010) | 1 line Use lowercase true/false in assertTrue/assertFalse messages. ........ | ||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 2 | -6/+6 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | Merged revisions 86101 via svnmerge from | Michael Foord | 2010-11-01 | 1 | -0/+14 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86101 | michael.foord | 2010-11-01 21:09:03 +0000 (Mon, 01 Nov 2010) | 1 line Fix issue 9926. TestSuite subclasses that override __call__ are called correctly. ........ | ||||
* | Fix error message for comparing single line strings in ↵ | Michael Foord | 2010-07-10 | 1 | -0/+15 |
| | | | | | | unittest.TestCase.assertEqual. Issue 9174 | ||||
* | Fix issue with nested test suites debug method and module setups. (unittest) | Michael Foord | 2010-06-10 | 1 | -1/+3 |
| | |||||
* | Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus ↵ | Michael Foord | 2010-06-08 | 2 | -0/+87 |
| | | | | class and module teardowns are not run by unittest.TestSuite.debug(). | ||||
* | Tests for issue 8302, skipped test in a setUpClass or a setUpModule are ↵ | Michael Foord | 2010-06-05 | 2 | -2/+45 |
| | | | | reported as skips rather than errors. | ||||
* | Tests for unittest.TestCase.maxDiff. | Michael Foord | 2010-06-05 | 1 | -0/+39 |
| | |||||
* | Fix unittest tests after previous commit. | Michael Foord | 2010-06-05 | 1 | -3/+6 |
| | |||||
* | Removed the new max_diff argument to assertSequenceEqual. All ↵ | Michael Foord | 2010-06-05 | 1 | -4/+21 |
| | | | | unittest.TestCase assert methods that use difflib to produce failure messages now truncate overly long messages. New class attribute unittest.TestCase.maxDiff to configure this if necessary. Issue 8351. | ||||
* | Issue 8351. Suppress large diffs in unittest.TestCase.assertSequenceEqual. | Michael Foord | 2010-06-05 | 1 | -0/+19 |
| | |||||
* | Adding a test for unittest.BaseTestSuite. | Michael Foord | 2010-05-09 | 1 | -0/+45 |
| | |||||
* | unittest: issue 8301. Adding functions to test suites no longer crashes. | Michael Foord | 2010-05-08 | 1 | -0/+9 |
| | |||||
* | Issue 7780. Adding a test for unittest test discovery from a dotted path. | Michael Foord | 2010-05-08 | 1 | -0/+17 |
| | |||||
* | Issue 8547 - detecting and reporting that modules have been imported from ↵ | Michael Foord | 2010-05-07 | 1 | -2/+44 |
| | | | | the wrong location under test discovery. | ||||
* | revert r80932; it breaks windows | Benjamin Peterson | 2010-05-07 | 1 | -39/+0 |
| | |||||
* | Issue 8547 - detecting and reporting that modules have been imported from ↵ | Michael Foord | 2010-05-07 | 1 | -0/+39 |
| | | | | the wrong location under test discovery. | ||||
* | Adding tests for unittest command line handling of buffer, catchbreak and ↵ | Michael Foord | 2010-05-07 | 2 | -0/+206 |
| | | | | failfast. | ||||
* | Adding a test for unittest test discovery with dotted path name. | Michael Foord | 2010-05-07 | 1 | -0/+17 |
| | |||||
* | Fix unittest tests to not abuse traceback.format_exception | Michael Foord | 2010-05-02 | 1 | -1/+14 |
| | |||||
* | Adding unittest.removeHandler function / decorator for removing the ↵ | Michael Foord | 2010-04-25 | 1 | -0/+21 |
| | | | | signal.SIGINT signal handler. With tests and docs. | ||||
* | Issue #8263: On freebsd6 the unittest 'break' test stops regrtest; skip it. | R. David Murray | 2010-04-17 | 1 | -0/+2 |
| | | | | | This is presumably related to issue 3864, and appears to be due to a platform bug on freebsd6. | ||||
* | unittest.result.TestResult does not create its buffers until they're used. ↵ | Michael Foord | 2010-04-07 | 1 | -3/+5 |
| | | | | It uses StringIO not cStringIO. Issue 8333. | ||||
* | Another attempt at a fix for unittest.test.test_result for windows line endings | Michael Foord | 2010-04-03 | 1 | -5/+4 |
| | |||||
* | Cross platform unittest.TestResult newline handling when buffering stdout / ↵ | Michael Foord | 2010-04-03 | 1 | -4/+5 |
| | | | | stderr. |