mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:45:53 +01:00
[PR #884] [CLOSED] tests: guest scene launch-failure test tolerates a localized OS error on stdout (TEST-GUEST-SCENE-LOCALE) #921
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#921
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/884
Author: @Luna-OS
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:fix/guest-scene-test-locale📝 Commits (1)
700d6b4tests: guest scene launch-failure test tolerates a localized OS error on stdout (TEST-GUEST-SCENE-LOCALE)📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
tests/test_guest_scene_reference.py(+2 -1)📄 Description
Claimed in the coordination issue as: TEST-GUEST-SCENE-LOCALE (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135144377)
What and why
tests/test_guest_scene_reference.py::test_launch_failure_preserves_run_record_and_logserrors on a non-English Windows:scripts/run_guest_scene.pyprints theOSErrorfrom launching the synthetic non-executable, and on a German Windows that text (WinError 216, withü/ß) reaches stdout in the ANSI code page (cp1252). The test decoded stdout as strict UTF-8, so the reader thread failed andresult.stdoutbecameNone. The neighbouring test in the same file already passeserrors="replace"; this one now does the same. The runner itself was fine: exit 1,report.jsonandlogs/full.jsonare written as the test expects.Tested
On Windows 11 (de-DE locale), Python 3.13.7, no game files:
python -I tests/test_guest_scene_reference.py, 6 OK (was 1 error).GPUs tested: n/a
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.