diff --git a/src/pyinterp/tests/core/test_interpolate1d.py b/src/pyinterp/tests/core/test_interpolate1d.py index 12a03d49..c6dd86b9 100644 --- a/src/pyinterp/tests/core/test_interpolate1d.py +++ b/src/pyinterp/tests/core/test_interpolate1d.py @@ -17,5 +17,5 @@ def test_interpolate1d(): assert pytest.approx(numpy.cos(-x**2 / 9.0), rel=1e-6) == yi[index] - with pytest.raises(RuntimeError): + with pytest.raises(ValueError): core.interpolate1d(core.Axis(x), y, xi, half_window_size=0)