Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | 2 | -0/+44 |
| | | | | are too long. | ||||
* | Issue #10979. unittest stdout buffering now works for class and module fixtures. | Michael Foord | 2011-03-17 | 3 | -2/+91 |
| | |||||
* | Issue #10242: backport of more fixes to unittest.TestCase.assertItemsEqual | Michael Foord | 2011-03-16 | 4 | -40/+105 |
| | |||||
* | #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 | 2 | -14/+19 |
| | | | | | | 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 | 2 | -4/+64 |
| | |||||
* | Improvement to fix for issue 9926 to allow TestResult to be reused. | Michael Foord | 2010-12-19 | 2 | -1/+6 |
| | |||||
* | Merged revisions 87377 via svnmerge from | Ezio Melotti | 2010-12-18 | 2 | -8/+8 |
| | | | | | | | | | | 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 | 3 | -12/+12 |
| | | | | | | | | | | 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 86511 via svnmerge from | Benjamin Peterson | 2010-11-18 | 1 | -1/+2 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86511 | benjamin.peterson | 2010-11-18 08:14:43 -0600 (Thu, 18 Nov 2010) | 1 line reduce try block compass ........ | ||||
* | Merged revisions 86101 via svnmerge from | Michael Foord | 2010-11-01 | 3 | -19/+32 |
| | | | | | | | | | | 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 | 2 | -3/+23 |
| | | | | | | unittest.TestCase.assertEqual. Issue 9174 | ||||
* | Fix issue with nested test suites debug method and module setups. (unittest) | Michael Foord | 2010-06-10 | 2 | -2/+4 |
| | |||||
* | Typo correction. | Michael Foord | 2010-06-09 | 1 | -1/+1 |
| | |||||
* | Issue 8948. cleanup functions are not run by unittest.TestCase.debug(), plus ↵ | Michael Foord | 2010-06-08 | 4 | -2/+116 |
| | | | | class and module teardowns are not run by unittest.TestSuite.debug(). | ||||
* | Code formatting change. | Michael Foord | 2010-06-05 | 1 | -0/+1 |
| | |||||
* | Tests for issue 8302, skipped test in a setUpClass or a setUpModule are ↵ | Michael Foord | 2010-06-05 | 3 | -4/+47 |
| | | | | reported as skips rather than errors. | ||||
* | Tests for unittest.TestCase.maxDiff. | Michael Foord | 2010-06-05 | 1 | -0/+39 |
| | |||||
* | Issue 8302. SkipTest exception is setUpClass or setUpModule is now reported ↵ | Michael Foord | 2010-06-05 | 1 | -21/+23 |
| | | | | as a skip rather than an error. | ||||
* | Fix unittest tests after previous commit. | Michael Foord | 2010-06-05 | 2 | -4/+7 |
| | |||||
* | unittest.TestCase assertion methods inform you when they have omitted an ↵ | Michael Foord | 2010-06-05 | 1 | -1/+5 |
| | | | | over long diff on failure. Issue 8351. | ||||
* | unittest.TestCase.assertDictEqual and assertMultilineEqual provide better ↵ | Michael Foord | 2010-06-05 | 2 | -6/+12 |
| | | | | default failure messages in the event of long diffs. | ||||
* | Removed the new max_diff argument to assertSequenceEqual. All ↵ | Michael Foord | 2010-06-05 | 2 | -13/+35 |
| | | | | 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. | ||||
* | Extract error message truncating into a method ↵ | Michael Foord | 2010-06-05 | 1 | -4/+6 |
| | | | | (unittest.TestCase._truncateMessage). | ||||
* | Issue 8351. Suppress large diffs in unittest.TestCase.assertSequenceEqual. | Michael Foord | 2010-06-05 | 2 | -3/+29 |
| | |||||
* | unittest TestLoader test discovery filename matching done in a method. This ↵ | Michael Foord | 2010-06-05 | 1 | -20/+24 |
| | | | | makes it easier to override the matching strategy in subclasses. No behaviour change in actual implementation. | ||||
* | Improving help message for python -m unittest. Issue 8303. | Michael Foord | 2010-05-10 | 2 | -6/+7 |
| | |||||
* | 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 | 2 | -1/+15 |
| | |||||
* | Updating documentation and adding docstrings to ↵ | Michael Foord | 2010-05-08 | 1 | -0/+2 |
| | | | | unittest.TestCase.assertRegexpMatches and assertNotRegexpMatches. Issue 8038. | ||||
* | 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 | 2 | -3/+58 |
| | | | | the wrong location under test discovery. | ||||
* | revert r80932; it breaks windows | Benjamin Peterson | 2010-05-07 | 2 | -53/+1 |
| | |||||
* | Issue 8547 - detecting and reporting that modules have been imported from ↵ | Michael Foord | 2010-05-07 | 2 | -1/+53 |
| | | | | 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 | 2 | -4/+21 |
| | |||||
* | 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 | 3 | -2/+42 |
| | | | | 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 | 2 | -6/+11 |
| | | | | It uses StringIO not cStringIO. Issue 8333. | ||||
* | Fix module directory finding logic for dotted paths in unittest test discovery. | Michael Foord | 2010-04-06 | 1 | -1/+13 |
| | |||||
* | Add tests for cmp_to_key. | Raymond Hettinger | 2010-04-04 | 1 | -11/+1 |
| | | | | | | Adopt PEP 8 compliant function name. Factor-out existing uses cmp_to_key. Update documentation to use internal pointers instead of external resource. | ||||
* | Minor tweak to unittest command line usage message | Michael Foord | 2010-04-03 | 1 | -1/+2 |
| | |||||
* | Adding -b command line option to the unittest usage message. | Michael Foord | 2010-04-03 | 1 | -6/+8 |
| | |||||
* | 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 | 2 | -15/+15 |
| | | | | stderr. | ||||
* | Support dotted module names for test discovery paths in unittest. Issue 7780. | Michael Foord | 2010-04-03 | 2 | -6/+32 |
| | |||||
* | Implement #1220212. Add os.kill support for Windows. | Brian Curtin | 2010-04-02 | 1 | -0/+2 |
| | | | | | | | | | | | | | | os.kill takes one of two newly added signals, CTRL_C_EVENT and CTRL_BREAK_EVENT, or any integer value. The events are a special case which work with subprocess console applications which implement a special console control handler. Any other value but those two will cause os.kill to use TerminateProcess, outright killing the process. This change adds win_console_handler.py, which is a script to implement SetConsoleCtrlHandler and applicable handler function, using ctypes. subprocess also gets another attribute which is a necessary flag to creationflags in Popen in order to send the CTRL events. | ||||
* | Issue #8038: Addition of unittest.TestCase.assertNotRegexpMatches | Michael Foord | 2010-04-02 | 2 | -0/+22 |
| |