diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-10 18:49:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 18:49:23 +0200 |
commit | f6e58aefde2e57e4cb11ea7743955da53a3f1e80 (patch) | |
tree | ae5a760fc2db639f50d8a08e600267b865ac852c /Python/Python-ast.c | |
parent | d36cf5f1d20ce9f111a8fc997104785086e8eee6 (diff) | |
download | cpython-git-f6e58aefde2e57e4cb11ea7743955da53a3f1e80.tar.gz |
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().
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions