Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | unittest tests no longer replace the sys.stdout put in place by regrtest | Michael Foord | 2010-04-02 | 2 | -8/+4 |
| | |||||
* | TestResult stores original sys.stdout and tests no longer use sys.__stdout__ ↵ | Michael Foord | 2010-04-02 | 2 | -19/+18 |
| | | | | (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 | 5 | -14/+217 |
| | | | | 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 | 2 | -13/+69 |
| | | | | | | 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 | 6 | -16/+319 |
| | | | | 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 |
| | |||||
* | Correct usage message displayed for python -m unittest -h | Michael Foord | 2010-03-22 | 3 | -10/+4 |
| | |||||
* | expected failure should not trigger failfast behavior in unittest. | Michael Foord | 2010-03-22 | 2 | -2/+1 |
| | |||||
* | Removing Python 2.3 compatibility code from unittest. | Michael Foord | 2010-03-22 | 2 | -7/+2 |
| | |||||
* | -f/--failfast command line option for unittest. Issue 8074. Documentation ↵ | Michael Foord | 2010-03-22 | 3 | -6/+32 |
| | | | | still needed. Plus minor change to test_unittest to allow it to be run with python -m test.unittest | ||||
* | Issue 7815. __unittest in module globals trims frames from reported ↵ | Michael Foord | 2010-03-22 | 9 | -5/+22 |
| | | | | stacktraces in unittest. | ||||
* | Silence more py3k warnings in unittest.case. | Florent Xicluna | 2010-03-21 | 1 | -2/+2 |
| | |||||
* | Change order of arguments in a unittest function. | Michael Foord | 2010-03-21 | 1 | -4/+4 |
| | |||||
* | A faulty load_tests in a test module no longer halts test discovery. A ↵ | Michael Foord | 2010-03-21 | 1 | -7/+21 |
| | | | | placeholder test, that reports the failure, is created instead. | ||||
* | Issue 7832: renaming unittest.TestCase.assertSameElements to ↵ | Michael Foord | 2010-03-20 | 2 | -24/+67 |
| | | | | assertItemsEqual and changing behaviour | ||||
* | Remove accidental print statement from last commit. | Michael Foord | 2010-03-07 | 1 | -1/+0 |
| | |||||
* | Fix accidental name rebinding in unittest py3k warning filtering. | Michael Foord | 2010-03-07 | 1 | -2/+3 |
| | |||||
* | Addition of setUpClass and setUpModule shared fixtures to unittest. | Michael Foord | 2010-03-07 | 4 | -10/+205 |
| | |||||
* | Fix for potentials errors in constructing unittest failure messages. Plus ↵ | Michael Foord | 2010-03-07 | 1 | -13/+23 |
| | | | | skipped test methods no longer run setUp and tearDown (Issue 8059) | ||||
* | Fix some py3k warnings in the standard library. | Florent Xicluna | 2010-03-07 | 1 | -20/+17 |
| | |||||
* | unittest.TestResult can now be used with the TextTestRunner. TextTestRunner ↵ | Michael Foord | 2010-02-23 | 2 | -6/+16 |
| | | | | compatible with old TestResult objects. | ||||
* | Support for old TestResult object (unittest) with warnings when using ↵ | Michael Foord | 2010-02-22 | 2 | -7/+28 |
| | | | | unsupported features. | ||||
* | Fix unittest.TestCase.assertDictContainsSubset so it can't die with unicode ↵ | Michael Foord | 2010-02-18 | 1 | -3/+4 |
| | | | | issues when constructing failure messages. Issue 7956 | ||||
* | unittest.TestCase uses safe_repr for producing failure messages. Partial fix ↵ | Michael Foord | 2010-02-18 | 2 | -34/+52 |
| | | | | for issue 7956 | ||||
* | Adding TextTestResult to unittest.__all__ | Michael Foord | 2010-02-11 | 1 | -1/+2 |
| |