summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2025-05-28 15:44:03 (GMT)
committerGitHub <noreply@github.com>2025-05-28 15:44:03 (GMT)
commit5511533f59b51cc2fd5e6dbf09a59def5c1e5cb5 (patch)
treef95455a3288d087c807664e6a9f2b2edc192fe99 /Python/pythonrun.c
parent8e60e6ca847f45d186cbdcf8ee79a500f9029235 (diff)
downloadcpython-5511533f59b51cc2fd5e6dbf09a59def5c1e5cb5.zip
cpython-5511533f59b51cc2fd5e6dbf09a59def5c1e5cb5.tar.gz
cpython-5511533f59b51cc2fd5e6dbf09a59def5c1e5cb5.tar.bz2
[3.13] gh-133711: Fix test_regrtest for PYTHONUTF8=1 (GH-134839) (#134843)
gh-133711: Fix test_regrtest for PYTHONUTF8=1 (GH-134839) Use "backslashreplace" error handler to decode stdout and stderr. Example: vstinner@WIN C:\victor\python\main\build\test_python_worker_8360\x91> "C:\victor\python\main\PCbuild\amd64\python_d.exe" -m test --fast-ci --slow-ci --testdir C:\Users\vstinner\AppData\Local\Temp\tmp0t59e8da test_regrtest_noop1 test_regrtest_noop2 test_regrtest_noop3 test_regrtest_noop4 Notice the "\x91" byte at the end of the first line: it's the non-ASCII U+00E6 character encoded to the OEM cp437 code page. (cherry picked from commit 91618278e7cd1ffc222efa03bb5334bd5a13dc5b) Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions