Skip to content

Commit 5deec84

Browse files
committed
Make test more specific
1 parent 1e18a99 commit 5deec84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/operators/test_collapse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def test_collapse_by_validity_time_percentile(long_forecast_multi_day):
247247

248248
def test_collapse_by_validity_time_percentile_fail(long_forecast_multi_day):
249249
"""Test not specifying additional percent fails."""
250-
with pytest.raises(ValueError):
250+
with pytest.raises(ValueError, match="Must specify additional_percent"):
251251
collapse.collapse_by_validity_time(long_forecast_multi_day, "PERCENTILE")
252252

253253

0 commit comments

Comments
 (0)