Skip to content

[3.9] bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718) #21827

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 11, 2020
Merged

[3.9] bpo-38912: regrtest logs unraisable exception into sys.__stderr__ (GH-21718) #21827

merged 1 commit into from
Aug 11, 2020

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Aug 11, 2020

regrtest_unraisable_hook() temporarily replaces sys.stderr with
sys.stderr to help to display errors when a test captures stderr.

(cherry picked from commit 701b638)

https://bugs.python.org/issue38912

…-21718)

regrtest_unraisable_hook() temporarily replaces sys.stderr with
sys.__stderr__ to help to display errors when a test captures stderr.

(cherry picked from commit 701b638)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants