commit | 3340b2a61b458e7087c8c5fea063b1b45e1a4a07 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Thu Apr 23 23:55:07 2020 +0200 |
committer | GitHub <noreply@github.com> | Thu Apr 23 23:55:07 2020 +0200 |
tree | 47d2978bd199b661db00d2b0c21427aef6d9aac3 | |
parent | 714aa832a599a04cb37667d89cb48459661ae6da [diff] |
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)