From 4112cc22c380871b3ea4472f30ffafc935c1cd2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20BRIOL?= Date: Thu, 15 Feb 2024 22:26:50 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Fix=20exception=20in=20test=5Fin?= =?UTF-8?q?terpolate1d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pyinterp/tests/core/test_interpolate1d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)