commit | a0b57b3317d6653255415af5228c94485aa57a0d | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Aug 11 17:03:33 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue Aug 11 17:03:33 2020 +0200 |
tree | ca591ab074333e549bb2bbcdfa62320730832d39 | |
parent | 2cd58d8bb15c1afaeef59106941d6db697074ce8 [diff] |
bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718) (GH-21827) regrtest_unraisable_hook() temporarily replaces sys.stderr with sys.__stderr__ to help to display errors when a test captures stderr. (cherry picked from commit 701b63894fdb75b12865b9be6261ce4913da76f5)