Skip to content

Commit

Permalink
Merge pull request #87 from qutech/hotfix/scipy-1.9
Browse files Browse the repository at this point in the history
Fix tests for SciPy 1.9.0
  • Loading branch information
thangleiter authored Aug 30, 2022
2 parents 3b8a781 + 566e4ba commit 79b4c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1063,7 +1063,7 @@ def test_error_transfer_matrix(self):
with self.assertRaises(TypeError):
ff.error_transfer_matrix(cumulant_function=[1, 2, 3])

with self.assertRaises(ValueError):
with self.assertRaises((ValueError, np.linalg.LinAlgError)):
ff.error_transfer_matrix(cumulant_function=testutil.rng.standard_normal((2, 3, 4)))

def test_infidelity_convergence(self):
Expand Down

0 comments on commit 79b4c30

Please sign in to comment.