Skip to content

Commit

Permalink
Fixed broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-kidger committed Feb 16, 2024
1 parent 4a26d8c commit f8f1737
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ def f(x):
return eqx.error_if(x, True, "hi")

with pytest.raises(Exception):
with pytest.warns(UserWarning):
f(1.0)
f(1.0)


def test_nan_tracetime():
Expand Down

0 comments on commit f8f1737

Please sign in to comment.