Skip to content

Commit

Permalink
No need for TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
vovaf709 committed Dec 26, 2023
1 parent bf46aa6 commit 9ba891e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_interp2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def test_test_data(num_threads):
def test_no_values(example):
x_points, int_points = example

with pytest.raises((ValueError, TypeError)):
with pytest.raises(ValueError):
Linear2DInterpolator(x_points)(int_points)


Expand Down

0 comments on commit 9ba891e

Please sign in to comment.