cpython/Lib/test/libregrtest
Victor Stinner 4a4f660cfd
bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) (GH-20785)
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.
* SuppressCrashReport now uses SetErrorMode() of the msvcrt module,
  rather than using ctypes.
* Remove also an unused variable (deadline) in wait_process().

(cherry picked from commit f6e58aefde)
2020-06-10 19:24:56 +02:00
..
__init__.py bpo-37473: Don't import importlib ASAP in tests (GH-14661) 2019-07-14 19:31:12 +02:00
cmdline.py bpo-37957: Allow regrtest to receive a file with test (and subtests) to ignore (GH-16989) 2019-11-19 23:46:49 +00:00
main.py regrtest: log timeout at startup (GH-19514) 2020-04-14 18:29:44 +02:00
pgo.py bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite coverage (GH-14985) 2019-07-28 18:01:12 -07:00
refleak.py bpo-36725: regrtest: add TestResult type (GH-12960) 2019-04-26 04:08:53 +02:00
runtest.py bpo-39983: Add test.support.print_warning() (GH-19683) 2020-04-23 19:03:52 +02:00
runtest_mp.py regrtest: log timeout at startup (GH-19514) 2020-04-14 18:29:44 +02:00
save_env.py bpo-37421: urllib.request tests call urlcleanup() (GH-14529) 2019-07-02 14:50:19 +02:00
setup.py bpo-40826: Fix test_repl.test_close_stdin() on Windows (GH-20779) (GH-20785) 2020-06-10 19:24:56 +02:00
utils.py bpo-39983: Add test.support.print_warning() (GH-19683) 2020-04-23 19:03:52 +02:00
win_utils.py bpo-36670: Enhance regrtest (GH-16556) 2019-10-03 16:15:16 +02:00