Skip to content

Commit 6b0c098

Browse files
authored
Fix failing CI after Pandas 2.0 update (#6051)
1 parent f114996 commit 6b0c098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: cirq-core/cirq/experiments/xeb_simulation_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_simulate_circuit_length_validation():
5959
)
6060
for _ in range(2)
6161
]
62-
cycle_depths = np.arange(3, 50, 9)
62+
cycle_depths = np.arange(3, 50, 9, dtype=np.int64)
6363
with pytest.raises(ValueError, match='.*not long enough.*'):
6464
_ = simulate_2q_xeb_circuits(circuits=circuits, cycle_depths=cycle_depths)
6565

@@ -127,7 +127,7 @@ def test_incremental_simulate(multiprocess):
127127
)
128128
for _ in range(20)
129129
]
130-
cycle_depths = np.arange(3, 100, 9)
130+
cycle_depths = np.arange(3, 100, 9, dtype=np.int64)
131131

132132
if multiprocess:
133133
pool = multiprocessing.Pool()

0 commit comments

Comments
 (0)