Skip to content

Commit

Permalink
Fix name shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelishman committed Jan 31, 2024
1 parent ba9a32c commit 9f59a60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/python/circuit/test_circuit_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,9 +808,9 @@ def test_remove_final_measurements_copy_with_parameters(self):
circuit.rz(theta, qr)
circuit.measure(qr, cr)
circuit.remove_final_measurements()
copy = circuit.copy()
copied = circuit.copy()

self.assertEqual(copy, circuit)
self.assertEqual(copied, circuit)

def test_remove_final_measurements_multiple_measures(self):
"""Test remove_final_measurements only removes measurements at the end of the circuit
Expand Down

0 comments on commit 9f59a60

Please sign in to comment.