Skip to content

fix/piwind_test_1 - #58

Merged
sambles merged 2 commits into
mainfrom
fix/piwind_test_1
Sep 25, 2026
Merged

sambles merged 2 commits into
mainfrom
fix/piwind_test_1

Conversation

@SkylordA

@SkylordA SkylordA commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Fix PiWindDtype/test_1 false failures in --check-results

_tabular_diff in tests/conftest.py treated NaN vs NaN as a mismatch, causing spurious EventRate diffs whenever a compared file wasn't byte-identical to expected_results (e.g. from harmless floating-point drift within tolerance). This made PiWindDtype/test_1 fail when run in isolation. Fixed the comparison to treat NaN == NaN as equal, and re-enabled the test.

closes #57

@SkylordA SkylordA self-assigned this Sep 23, 2026
@SkylordA SkylordA added the bug Something isn't working label Sep 23, 2026
@SkylordA
SkylordA requested a review from sambles September 23, 2026 10:15
@sambles
sambles merged commit 154d8ab into main Sep 25, 2026
4 checks passed
@sambles
sambles deleted the fix/piwind_test_1 branch September 25, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

PiWindDtype/test_1 fails --check-results when run in isolation (out of ORDERED_MODELS sequence).

3 participants