]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45410: Enhance libregrtest -W/--verbose3 option (GH-28908)
authorVictor Stinner <vstinner@python.org>
Tue, 12 Oct 2021 23:52:22 +0000 (01:52 +0200)
committerGitHub <noreply@github.com>
Tue, 12 Oct 2021 23:52:22 +0000 (01:52 +0200)
commitdbe213de7ef28712bbfdb9d94a33abb9c33ef0c2
tree3c94ff3ceddfb9d0ef52c18cdd18b735c31fac6c
parent2d21612f0dd84bf6d0ce35bcfcc9f0e1a41c202d
bpo-45410: Enhance libregrtest -W/--verbose3 option (GH-28908)

libregrtest -W/--verbose3 now also replace sys.__stdout__,
sys.__stderr__, and stdout and stderr file descriptors (fd 1 and fd
2).

support.print_warning() messages are now logged in the expected
order.

The "./python -m test test_eintr -W" command no longer logs into
stdout if the test pass.
Lib/test/libregrtest/runtest.py
Lib/test/libregrtest/utils.py
Lib/test/support/__init__.py