Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
toru4838 committed Jan 22, 2024
1 parent 90fdd7b commit 29e8f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/tests/core/operator/test_pauli.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def test_pauli_cache(self) -> None:
cache_len = len(pauli_cache)
pl_2 = pauli_label("X0 X1 Y2 Y3 Z4 Z7")
assert id(pl_1) != id(pl_2)
assert len(pauli_cache) == cache_len
assert len(pauli_cache) == cache_len + 1

pl_3 = pauli_label("X0 X1 Y2 Y3 Z4 Z6")
assert id(pl_1) != id(pl_3)
Expand Down

0 comments on commit 29e8f58

Please sign in to comment.