Skip to content

test: skip the '?' file name case on Windows - #747

Merged
JuroOravec merged 1 commit into
mainfrom
test/windows-query-mark-filename
Nov 18, 2026
Merged

JuroOravec merged 1 commit into
mainfrom
test/windows-query-mark-filename

Conversation

@JuroOravec

Copy link
Copy Markdown
Member

Python tests on main (a541adfad) fail on every Windows job with one test:

FAILED packages/py/citry/tests/test_cache_keys_from_requests.py::test_a_served_file_whose_extension_a_url_could_change_is_inlined[query_mark] - OSError: [Errno 22] Invalid argument: '...\\theme.c?ss'

Windows refuses ? in a file name, so that case cannot create its file there, and no app on Windows can serve such a file. The case now skips on win32; it still runs on Linux and macOS.

🤖 Generated with Claude Code

https://claude.ai/code/session_01KUhrHXH1mNfRCnPcsQt7ED

Windows refuses '?' in a file name, so the query_mark case of
test_a_served_file_whose_extension_a_url_could_change_is_inlined
cannot create its file there. It failed on every Windows job of
Python tests on main (a541adf).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01KUhrHXH1mNfRCnPcsQt7ED
@JuroOravec
JuroOravec merged commit 140e91e into main Nov 18, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant