cpython/Lib/unittest/test
Brian Curtin e5aa886b44 Implement #1220212. Add os.kill support for Windows.
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.
2010-04-02 23:26:06 +00:00
..
__init__.py Rename the unittest test_suite function to not clash with a test module name (unittest.test.test_suite is now unambiguous). 2010-03-27 13:42:34 +00:00
dummy.py A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython) 2010-03-27 12:55:19 +00:00
support.py
test_assertions.py Issue #8038: Addition of unittest.TestCase.assertNotRegexpMatches 2010-04-02 22:55:59 +00:00
test_break.py Implement #1220212. Add os.kill support for Windows. 2010-04-02 23:26:06 +00:00
test_case.py
test_discovery.py Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly 2010-03-26 03:18:31 +00:00
test_functiontestcase.py
test_loader.py A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython) 2010-03-27 12:55:19 +00:00
test_program.py
test_result.py unittest tests no longer replace the sys.stdout put in place by regrtest 2010-04-02 22:30:56 +00:00
test_runner.py
test_setups.py
test_skipping.py
test_suite.py Move a support TestCase out of the main namespace in unittest.test.test_suite 2010-03-26 02:53:56 +00:00