Repository navigation
Conversation
…pus_tags, world_names) Each test makes the tree walk report an unreadable folder and asserts the folder's path appears in the tool's error message. The message embeds str(OSError), which prints the filename with repr(), so on Windows every backslash is doubled and assertIn(path, message) misses. Expect repr(path), which is the text OSError produces; on POSIX the two are identical. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Author
|
Closing as a duplicate of #1425, which was opened first and changes the same three Windows PermissionError assertions in the same way. Sorry for the noise; I missed it in the carry-over scan. AI-assisted (Devin). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claimed in the coordination issue as: OLD-10046 (#1608 (comment))
What and why
Carries forward
old-pr/10046(draft #312, original commit authoricecreammule277-dotpreserved; indexed in #17), rebased cleanly onto currentmain(5fab93967).The unreadable-folder tests assert that the blocked path appears in the tool's error.
str(OSError)formats its filename withrepr(), so on Windows every backslash in the path is doubled andassertIn(blocked, message)fails even though the tool printed the right path. The assertions now look forrepr(blocked), the exact textstr(OSError)embeds; on POSIX this is the same path text.Only test expectations change; no tool behavior changes.
Tested
On Windows 11, Python 3.14, with the machine coordination lock held:
python -m compileall -q tests/test_bink_names.py tests/test_opus_tags.py tests/test_world_names.py— pass.python -I tests/test_bink_names.py— 36 tests, OK.python -I tests/test_opus_tags.py— 28 tests, OK.python -I tests/test_world_names.py— 31 tests, OK.No GPU, Vulkan SDK, or game data used. AI-assisted with Devin.