]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-110367: Enhance regrtest -jN --verbose3 (#110368)
authorVictor Stinner <vstinner@python.org>
Thu, 5 Oct 2023 06:24:43 +0000 (08:24 +0200)
committerGitHub <noreply@github.com>
Thu, 5 Oct 2023 06:24:43 +0000 (08:24 +0200)
commit6592976061a6580fee2ade3564f6497eb685ab67
treee74c7e59618e53c8bd8dcfa733bbd0900fd0b445
parent313aa861ce23e83ca64284d97c1dac234c9def7c
gh-110367: Enhance regrtest -jN --verbose3 (#110368)

When using worker processes (-jN) with --verbose3 option, regrtest
can now display the worker output even if a worker process does
crash.  Previously, sys.stdout and sys.stderr were replaced and so
the worker output was lost on a crash.
Lib/test/libregrtest/run_workers.py
Lib/test/test_faulthandler.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2023-10-04-18-27-47.gh-issue-110367.Nnq1I7.rst [new file with mode: 0644]