Skip to content

Commit

Permalink
change exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyjmurray committed Jun 4, 2024
1 parent f1c7ec5 commit 7f4a45f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/modelmembers/test_spamvec.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def build_vec():
return tppovm['1'] # complement POVM

def test_vector_conversion(self):
with self.assertRaises(ValueError):
with self.assertRaises(RuntimeError):
self.vec.to_vector()


Expand Down

0 comments on commit 7f4a45f

Please sign in to comment.