diff options
author | Victor Stinner <vstinner@python.org> | 2020-04-23 21:55:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-23 21:55:07 (GMT) |
commit | 3340b2a61b458e7087c8c5fea063b1b45e1a4a07 (patch) | |
tree | 47d2978bd199b661db00d2b0c21427aef6d9aac3 /Python | |
parent | 714aa832a599a04cb37667d89cb48459661ae6da (diff) | |
download | cpython-3340b2a61b458e7087c8c5fea063b1b45e1a4a07.zip cpython-3340b2a61b458e7087c8c5fea063b1b45e1a4a07.tar.gz cpython-3340b2a61b458e7087c8c5fea063b1b45e1a4a07.tar.bz2 |
bpo-39983: Add test.support.print_warning() (GH-19683) (GH-19687)
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 d663d34685e18588748569468c672763f4c73b3e)
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions