Skip to content

Tests: fix 3 Windows-only WONDER fixture failures (CRLF changed the pinned SHA-256) - #21

Merged
cafeTechne merged 2 commits into
defaultBranchfrom
fix/windows-wonder-test
Nov 16, 2026
Merged

cafeTechne merged 2 commits into
defaultBranchfrom
fix/windows-wonder-test

Conversation

@cafeTechne

Copy link
Copy Markdown
Owner

Windows CI has failed the same 3 tests since Round 21 (tests/test_round21_part2.py::TestWonder: refusals_and_measure, via_load_external, zero_deaths_keep_finite_se). The fixture is written in text mode, so Windows turns LF into CRLF, and the file no longer matches the SHA-256 computed from the in-memory text. The code under test is correct (it is meant to refuse a changed export).

Fix: write the fixture with newline="". One line, test only. The TestWonder tests pass locally on Linux; Windows to be confirmed by this PR's CI.

… Windows (text mode turned LF into CRLF; 3 Windows-only failures since Round 21)
…-progress Round 24 edits from the working tree; this PR is only the one-line test fix
@cafeTechne
cafeTechne merged commit 55eedaf into defaultBranch Nov 16, 2026
17 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