diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-10 17:24:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-10 17:24:56 (GMT) |
commit | 4a4f660cfde8b683634c53e6214a6baa51de43b1 (patch) | |
tree | de76ecc7629c65431f6e1386c85d404798e1a1ac /Lib/pydoc.py | |
parent | 9419158a3e67ba2eadf33215568003ed723b0a98 (diff) | |
download | cpython-4a4f660cfde8b683634c53e6214a6baa51de43b1.zip cpython-4a4f660cfde8b683634c53e6214a6baa51de43b1.tar.gz cpython-4a4f660cfde8b683634c53e6214a6baa51de43b1.tar.bz2 |
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 f6e58aefde2e57e4cb11ea7743955da53a3f1e80)
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions