]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-101634: regrtest reports decoding error as failed test (GH-106169) (#106174)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 28 Jun 2023 02:55:27 +0000 (19:55 -0700)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2023 02:55:27 +0000 (02:55 +0000)
commitc1c6738526853c77c55b92ccd756aec96053677e
treef79d9b953c42d97476e63df8cd8aabe640ac926e
parent20315d141a2288c43273922213863b4594e8ab42
[3.12] gh-101634: regrtest reports decoding error as failed test (GH-106169) (#106174)

gh-101634: regrtest reports decoding error as failed test (GH-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)

Co-authored-by: Victor Stinner <vstinner@python.org>
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]