Skip to content

Commit

Permalink
Remove invalid test assertion for no longer public attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Aug 30, 2024
1 parent 62d2cdb commit 71ac2fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/python/circuit/test_commutation_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ def test_serialization(self):
scc.clear_cached_commutations()
self.assertTrue(scc.commute(ZGate(), [0], [], NewGateCX(), [0, 1], []))
cc2 = pickle.loads(pickle.dumps(scc))
self.assertEqual(cc2.gates, scc.gates)
self.assertEqual(cc2.num_cached_entries(), 1)
dop1 = DAGOpNode(ZGate(), qargs=[0], cargs=[])
dop2 = DAGOpNode(NewGateCX(), qargs=[0, 1], cargs=[])
Expand Down

0 comments on commit 71ac2fd

Please sign in to comment.