Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Remove deprecation on assert_. It is used too frequently. | Michael Foord | 2010-02-10 | 1 | -1/+1 | |
| | ||||||
* | Issue 7893 and Issue 7588 | Michael Foord | 2010-02-10 | 4 | -27/+32 | |
| | ||||||
* | Make assertMultiLineEqual the default for comparing unicode strings. | Michael Foord | 2010-02-08 | 1 | -0/+1 | |
| | ||||||
* | Fix exc_value -> exception in docstring | Ezio Melotti | 2010-02-08 | 1 | -1/+1 | |
| | ||||||
* | assertRaises as context manager now allows you to access exception as documented | Michael Foord | 2010-02-07 | 1 | -1/+1 | |
| | ||||||
* | Rename "exc_value" attribute on assertRaises context manager to "exception". | Georg Brandl | 2010-02-07 | 1 | -2/+2 | |
| | ||||||
* | Use "regexp" consistently. | Georg Brandl | 2010-02-07 | 1 | -8/+8 | |
| | ||||||
* | unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799. | Michael Foord | 2010-02-06 | 1 | -1/+2 | |
| | ||||||
* | Correction to docstring correction. | Michael Foord | 2010-02-05 | 1 | -1/+1 | |
| | ||||||
* | Improving docstrings in unittest.TestCase | Michael Foord | 2010-02-05 | 1 | -5/+15 | |
| | ||||||
* | Fix typo in assertSequenceEqual docstring. | R. David Murray | 2010-01-29 | 1 | -1/+1 | |
| | ||||||
* | Change error report when the object passed to suite.addTest is not | R. David Murray | 2010-01-28 | 1 | -1/+1 | |
| | | | | callable to include the repr of the invalid object. | |||||
* | Issue #7092: Fix the DeprecationWarnings emitted by the standard library | Antoine Pitrou | 2010-01-04 | 1 | -3/+9 | |
| | | | | when using the -3 flag. Patch by Florent Xicluna. | |||||
* | More yearly updates. | Georg Brandl | 2010-01-01 | 1 | -1/+1 | |
| | ||||||
* | now that deepcopy can handle instance methods, this hack can be removed #7409 | Benjamin Peterson | 2009-11-29 | 1 | -13/+2 | |
| | | | | Thanks Robert Collins | |||||
* | Backport micro-fix from the py3k svnmerge | Antoine Pitrou | 2009-11-10 | 1 | -1/+1 | |
| | ||||||
* | Issue #7197: Allow unittest.TextTestRunner objects to be pickled and | Antoine Pitrou | 2009-11-10 | 1 | -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 Brandl | 2009-10-01 | 1 | -0/+13 | |
| |