Skip to content

Commit

Permalink
fix assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Aug 13, 2024
1 parent ccf0dac commit c2d517b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test_quilbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ def test_convert(self, reset_qubit: Reset):
def test_pickle(self, reset_qubit: Reset):
pickled = pickle.dumps(reset_qubit)
unpickled = pickle.loads(pickled)
assert isinstance(unpickled, Reset)
assert isinstance(unpickled, (Reset, ResetQubit))
assert unpickled == reset_qubit


Expand Down

0 comments on commit c2d517b

Please sign in to comment.