Skip to content

Commit b5282da

Browse files
committed
minor test change
1 parent 55b7730 commit b5282da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirq-core/cirq/ops/identity_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,6 @@ def test_identity_short_circuits_act_on():
211211

212212

213213
def test_identity_commutes():
214-
assert cirq.commutes(cirq.I, cirq.X)
214+
assert cirq.I._commutes_(cirq.X)
215215
with pytest.raises(TypeError):
216216
cirq.commutes(cirq.I, "Gate")

0 commit comments

Comments
 (0)