Skip to content

Commit

Permalink
test data
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Nov 14, 2024
1 parent ba6516b commit 23393bb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/unit/test_aggregate_dataset_histos.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ def test_210__update_aggregation_histogram_length_mismatch():
"nan_count": 2,
"bin_values": [1.0, 2.0, 3.0], # different length
}
with pytest.raises(ValueError, match="bin_values list must have the same length"):
with pytest.raises(
ValueError,
match=r"'bin_values' list must have the same length: \[.*?\] \+ \[.*?\]",
):
update_aggregation(existing, new)


Expand Down

0 comments on commit 23393bb

Please sign in to comment.