Skip to content

Commit eb1b4c4

Browse files
authored
Fix exception type
1 parent d00cfe0 commit eb1b4c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symengine/tests/test_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_n_mpc():
5454
y = ComplexMPC('1.41421356237309504880169', '3.0', 75)
5555
assert x.n(75) == y
5656
except ImportError:
57-
raises(ValueError, lambda: (x.n(75, real=True)))
57+
raises(Exception, lambda: (x.n(75, real=True)))
5858
raises(ValueError, lambda: (x.n(75, real=False)))
5959
raises(ValueError, lambda: (x.n(75)))
6060
raise SkipTest("No MPC support")

0 commit comments

Comments
 (0)