Skip to content

Commit

Permalink
Fix failing CI after Pandas 2.0 update (#6051)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanujkhattar committed Apr 3, 2023
1 parent f114996 commit 6b0c098
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cirq-core/cirq/experiments/xeb_simulation_test.py
Expand Up @@ -59,7 +59,7 @@ def test_simulate_circuit_length_validation():
)
for _ in range(2)
]
cycle_depths = np.arange(3, 50, 9)
cycle_depths = np.arange(3, 50, 9, dtype=np.int64)
with pytest.raises(ValueError, match='.*not long enough.*'):
_ = simulate_2q_xeb_circuits(circuits=circuits, cycle_depths=cycle_depths)

Expand Down Expand Up @@ -127,7 +127,7 @@ def test_incremental_simulate(multiprocess):
)
for _ in range(20)
]
cycle_depths = np.arange(3, 100, 9)
cycle_depths = np.arange(3, 100, 9, dtype=np.int64)

if multiprocess:
pool = multiprocessing.Pool()
Expand Down

0 comments on commit 6b0c098

Please sign in to comment.