]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95027: Fix regrtest stdout encoding on Windows (#98492)
authorVictor Stinner <vstinner@python.org>
Fri, 21 Oct 2022 14:21:36 +0000 (16:21 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Oct 2022 14:21:36 +0000 (16:21 +0200)
commitec1f6f5f139868dc2c1116a7c7c878c38c668d53
treef610a4e94ffd2a881a38e4ad4f6eca61f735c346
parent82ccbf69a842db25d8117f1c41b47aa5b4ed96ab
gh-95027: Fix regrtest stdout encoding on Windows (#98492)

On Windows, when the Python test suite is run with the -jN option,
the ANSI code page is now used as the encoding for the stdout
temporary file, rather than using UTF-8 which can lead to decoding
errors.
Lib/test/libregrtest/runtest_mp.py
Misc/NEWS.d/next/Tests/2022-10-20-17-49-50.gh-issue-95027.viRpJB.rst [new file with mode: 0644]