Skip to content

Commit 8a86029

Browse files
committed
fix: use generic exception
1 parent 22013ee commit 8a86029

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_integ.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def test_func(x): return x**-2
183183
test_integral, true_result, decimal=test_decimal, verbose=True,
184184
err_msg="x^(-2) integral failed across interval [1, inf].")
185185

186-
with assert_raises((galsim.GalSimError, equinox.EquinoxRuntimeError)):
186+
with assert_raises((galsim.GalSimError, Exception)):
187187
galsim.integ.int1d(test_func, 0., 1., test_rel_err, test_abs_err)
188188

189189

0 commit comments

Comments
 (0)