Skip to content

Commit 11ae896

Browse files
committed
Merge remote-tracking branch 'upstream/2.3.x' into depr/array-copy-false-futurewarning
2 parents 504a484 + 3bcbf0c commit 11ae896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_algos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ def test_value_counts_nat(self):
12831283
result_dt = algos.value_counts(dt)
12841284
tm.assert_series_equal(result_dt, exp_dt)
12851285

1286-
exp_td = Series({np.timedelta64(10000): 1}, name="count")
1286+
exp_td = Series([1], index=[np.timedelta64(10000)], name="count")
12871287
with tm.assert_produces_warning(FutureWarning, match=msg):
12881288
result_td = algos.value_counts(td)
12891289
tm.assert_series_equal(result_td, exp_td)

0 commit comments

Comments
 (0)