Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Support dotted module names for test discovery paths in unittest. Issue 7780. | Michael Foord | 2010-04-03 | 1 | -2/+9 |
| | |||||
* | 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 | 1 | -0/+10 |
| | |||||
* | unittest tests no longer replace the sys.stdout put in place by regrtest | Michael Foord | 2010-04-02 | 1 | -2/+2 |
| | |||||
* | TestResult stores original sys.stdout and tests no longer use sys.__stdout__ ↵ | Michael Foord | 2010-04-02 | 1 | -17/+14 |
| | | | | (etc) in tests for unittest -b command line option | ||||
* | Addition of -b command line option to unittest for buffering stdout and ↵ | Michael Foord | 2010-04-02 | 2 | -5/+135 |
| | | | | stderr during test runs. | ||||
* | Backport of weakref.WeakSet and tests from Python 3. | Michael Foord | 2010-03-29 | 1 | -0/+1 |
| | |||||
* | Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals ↵ | Michael Foord | 2010-03-27 | 1 | -0/+24 |
| | | | | | | 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. | ||||
* | Rename the unittest test_suite function to not clash with a test module name ↵ | Michael Foord | 2010-03-27 | 1 | -2/+2 |
| | | | | (unittest.test.test_suite is now unambiguous). | ||||
* | A fix for running unittest tests on platforms without the audioop module ↵ | Michael Foord | 2010-03-27 | 2 | -14/+7 |
| | | | | (e.g. jython and IronPython) | ||||
* | Addition of -c command line option to unittest, to handle ctrl-c during a ↵ | Michael Foord | 2010-03-26 | 2 | -1/+229 |
| | | | | test run more elegantly | ||||
* | Move a support TestCase out of the main namespace in unittest.test.test_suite | Michael Foord | 2010-03-26 | 1 | -7/+7 |
| | |||||
* | Remove incorrect docstring in unittest.test | Michael Foord | 2010-03-26 | 1 | -14/+0 |
| | |||||
* | Turn unittest tests into a package | Michael Foord | 2010-03-25 | 13 | -0/+4511 |