aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-05-28 17:19:50 +0200
committerGitHub <noreply@github.com>2025-05-28 17:19:50 +0200
commit91618278e7cd1ffc222efa03bb5334bd5a13dc5b (patch)
tree9986afe0d7ca213cf8943a1ac2e7975c7e309c93 /Python/pylifecycle.c
parent11f7a939debd7731d1cb79ed84a473fa87c279c8 (diff)
downloadcpython-91618278e7cd1ffc222efa03bb5334bd5a13dc5b.tar.gz
cpython-91618278e7cd1ffc222efa03bb5334bd5a13dc5b.zip
gh-133711: Fix test_regrtest for PYTHONUTF8=1 (#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.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions