mirror of
https://github.com/python/cpython.git
synced 2026-05-15 08:59:27 -04:00
a0b57b3317
regrtest_unraisable_hook() temporarily replaces sys.stderr with
sys.__stderr__ to help to display errors when a test captures stderr.
(cherry picked from commit 701b63894f)