Repository navigation
Conversation
|
Tested d300336 merged with main 8575d36 on Windows/Python 3.13.1: concern The PR changes only tests/test_guest_scene_reference.py (drops
The PR touches no non-test file, and main's test also passes here, because the error text from CreateProcess on this system is plain ASCII; the decode error needs a localized (non-UTF-8, non-ASCII) message, which I could not produce. So I can confirm the PR does not break anything, but not that it fixes the failure it describes. The diff itself is two lines and looks right: |
|
Thanks for checking. I can reproduce the locale-dependent failure on Windows 11 / CPython 3.12.10 ( So the English/ASCII run you saw is consistent with the failure being locale-specific. The head tested here is the same one in this PR. |
|
Tested d300336 merged with main 8575d36, after #6691's make_game CLI changes landed: test_guest_scene_reference passes Ran 5 OK. Honest limitation noted in your favor: the byte-capture fix is only observable on Windows code pages — on Linux pre and post behave identically, so no red-on-main demonstration exists here; the windows CI job is the real gate. Checks pending. AI-assisted: yes. Tested on Linux (RTX 5080 host, CPU-only run). |
d300336 to
2e47119
Compare
|
Tested
AI-assisted. |
|
Superseded by #7635, which covers the same localized Windows launch-diagnostic failure with a native pt-BR reproduction. Both fixes address the same test line; closing this to avoid duplicate review. Thanks. |
Claim: #6910 comment
What changed
The launch-failure test runs a synthetic invalid executable. On Windows, CreateProcess diagnostics use the active code page, so forcing the parent
subprocess.runto decode as UTF-8 can raiseUnicodeDecodeErrorbefore the test checks the run record. Capture stdout/stderr as bytes instead.Validation
python -I tests/test_guest_scene_reference.py -vfailed on Windows 11 / CPython 3.12.10 (cp1252) withUnicodeDecodeErrorin the subprocess reader and then aTypeErrorin the assertion.2e471196onto mainb03e803aand reranpython -I tests/test_guest_scene_reference.py -v: 5/5 passed.git diff --check: pass.GPU/driver: none (CPU-only). No game data used.
AI-assisted (OpenAI Codex).
Depends on: #6924 (merged).