Skip to content

Commit 53b301b

Browse files
authored
Merge pull request #82 from haasad/fix/scipy-error-groups
Fix failing tests for pip installed scipy
2 parents 5a759de + a3ec43e commit 53b301b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_input_A.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_input_A_dtypes():
6464
A, b = create_test_A_b_rand(10, 0.5)
6565
for d in [np.float16, np.float32, np.int16, np.int32, np.int64, np.complex64,
6666
np.complex128, np.complex128, np.uint16, np.uint32, np.uint64]:
67-
with pytest.raises(TypeError):
67+
with pytest.RaisesExc(check=lambda e: isinstance(e, (ValueError, TypeError))):
6868
ps.solve(A.astype(d), b)
6969

7070

0 commit comments

Comments
 (0)