Skip to content

Commit 116c289

Browse files
committed
Update exception match regex
1 parent 0da9205 commit 116c289

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/powder/correction_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ def test_normalize_by_monitor_integrated_raises_if_monitor_range_too_narrow():
479479
'wavelength': sc.array(dims=['wavelength'], values=[1.0, 3, 4], unit='Å')
480480
},
481481
)
482-
with pytest.raises(ValueError, match="wavelength range of the monitor is smaller"):
482+
with pytest.raises(ValueError, match="smaller than the range of the detector"):
483483
normalize_by_monitor_integrated(
484484
CountsWavelength[SampleRun](detector),
485485
monitor=WavelengthMonitor[SampleRun, CaveMonitor](monitor),

0 commit comments

Comments
 (0)