Commit Graph

2 Commits

Author SHA1 Message Date
14acb49902 tests/winbatch: skip, naming the letters, when cmd.exe can't read a path
Review of #2984 (@iurysf): with 8.3 names off, a path with letters outside the
OEM code page made open(..., encoding="oem") raise UnicodeEncodeError mid-test.
cmd.exe couldn't run that batch file in any encoding, so write_python_cmd now
raises unittest.SkipTest that names the letters (Windows' "oem" codec reports no
useful position, so they are found per character) and writes nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:07:12 +03:00
84f374e853 tests: share the batch-file helper of the two audio tests (tests/winbatch.py)
Review suggestion on #2984: test_audio_wav and test_audio_stage_resume each
had their own copy of the 8.3-short-name helper. Both now call
winbatch.write_python_cmd, so the two can't diverge.

AI-assisted (Claude Code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:24:49 +03:00