Skip to content

[3.8] bpo-39983: Add test.support.print_warning() (GH-19683)#19687

Merged
vstinner merged 1 commit intopython:3.8from
vstinner:3.8
Apr 23, 2020
Merged

[3.8] bpo-39983: Add test.support.print_warning() (GH-19683)#19687
vstinner merged 1 commit intopython:3.8from
vstinner:3.8

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Apr 23, 2020

Log "Warning -- ..." test warnings into sys.stderr rather than
sys.stderr, to ensure to display them even if sys.stderr is captured.

test.libregrtest.utils.print_warning() now calls
test.support.print_warning().

(cherry picked from commit d663d34)

https://bugs.python.org/issue39983

Log "Warning -- ..." test warnings into sys.__stderr__ rather than
sys.stderr, to ensure to display them even if sys.stderr is captured.

test.libregrtest.utils.print_warning() now calls
test.support.print_warning().

(cherry picked from commit d663d34)
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