Skip to content

Commit

Permalink
🩹 Fix exception in test_interpolate1d
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriol committed Feb 15, 2024
1 parent dec3266 commit 4112cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyinterp/tests/core/test_interpolate1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 4112cc2

Please sign in to comment.