cpython/Lib/test/support
Victor Stinner f6e58aefde
bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779)
test_repl.test_close_stdin() now calls
support.suppress_msvcrt_asserts() to fix the test on Windows.

* Move suppress_msvcrt_asserts() from test.libregrtest.setup to
  test.support. Make its verbose parameter optional: verbose=False by
  default.
* Add msvcrt.GetErrorMode().
* SuppressCrashReport now uses GetErrorMode() and SetErrorMode() of
  the msvcrt module, rather than using ctypes.
* Remove also an unused variable (deadline) in wait_process().
2020-06-10 18:49:23 +02:00
..
__init__.py bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) 2020-06-10 18:49:23 +02:00
bytecode_helper.py bpo-18578: Rename and document test.bytecode_helper as test.support.bytecode_helper (GH-15168) 2019-09-12 10:02:59 +01:00
hashlib_helper.py bpo-40275: Move requires_hashdigest() to test.support.hashlib_helper (GH-19716) 2020-04-29 03:11:29 +02:00
interpreters.py bpo-32604: Recommit "bpo-32604: PEP 554 for use in test suite (GH-19985)" (GH-20611) 2020-06-10 00:53:23 -03:00
logging_helper.py bpo-40275: Avoid importing logging in test.support (GH-19601) 2020-04-25 11:35:18 +03:00
os_helper.py bpo-40275: Add os_helper submodule in test.support (GH-20765) 2020-06-10 14:29:02 +02:00
script_helper.py bpo-38991: Remove test.support.strip_python_stderr() (GH-17490) 2019-12-08 08:38:16 +01:00
socket_helper.py bpo-40275: Fix name error in support.socket_helper (GH-19825) 2020-05-01 02:35:24 +02:00
testresult.py bpo-34945: Buffer output in test suite only when creating junit file (GH-10204) 2018-10-29 16:09:41 -04:00
threading_helper.py bpo-40275: Fix test.support.threading_helper (GH-20488) 2020-05-28 16:37:37 +02:00