Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
Commit5511533
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_noop4Notice the "\x91" byte at the end of the first line: it's thenon-ASCII U+00E6 character encoded to the OEM cp437 code page.(cherry picked from commit9161827)Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent8e60e6c commit5511533
1 file changed
+4
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
871 | 871 |
| |
872 | 872 |
| |
873 | 873 |
| |
874 |
| - | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
875 | 878 |
| |
876 | 879 |
| |
877 | 880 |
| |
|
0 commit comments
Comments
(0)