]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-101634: regrtest reports decoding error as failed test (#106169) (#106175)
authorVictor Stinner <vstinner@python.org>
Wed, 28 Jun 2023 02:58:34 +0000 (04:58 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2023 02:58:34 +0000 (02:58 +0000)
commitd5418e97fc524420011a370ba3c2c3cf6a89a74f
treebaf67ac10d6592efcdeccd4db1d3f9bdcc48da5f
parentfbb0151e5ec14e2db5699bdb7adcc19d3c0b7267
[3.11] gh-101634: regrtest reports decoding error as failed test (#106169) (#106175)

gh-101634: regrtest reports decoding error as failed test (#106169)

When running the Python test suite with -jN option, if a worker stdout
cannot be decoded from the locale encoding report a failed testn so the
exitcode is non-zero.

(cherry picked from commit 2ac3eec103cf450aaaebeb932e51155d2e7fb37b)
Lib/test/libregrtest/runtest_mp.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2023-06-28-02-51-08.gh-issue-101634.Rayczr.rst [new file with mode: 0644]