]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109425: regrtest decodes worker stdout with backslashreplace (#109428)
authorVictor Stinner <vstinner@python.org>
Thu, 14 Sep 2023 23:37:37 +0000 (01:37 +0200)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2023 23:37:37 +0000 (23:37 +0000)
commit74c72a2fc73941394839bd912c4814398b461446
tree29d4d7a95d2ce9cd53b67cd857e95d9519a181c2
parent68a6f21f47e779ddd70e33cf04d170a63f077fcd
gh-109425: regrtest decodes worker stdout with backslashreplace (#109428)

libregrtest now decodes stdout of test worker processes with the
"backslashreplace" error handler to log corrupted stdout, instead of
failing with an error and not logging the stdout.
Lib/test/libregrtest/run_workers.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2023-09-14-23-27-40.gh-issue-109425.j-uFep.rst [new file with mode: 0644]