File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -215,5 +215,5 @@ def test_arrow_duration_resample():
215
215
# GH 56371
216
216
idx = pd .Index (timedelta_range ("1 day" , periods = 5 ), dtype = "duration[ns][pyarrow]" )
217
217
expected = Series (np .arange (5 , dtype = np .float64 ), index = idx )
218
- result = expected .resample ("1D " ).mean ()
218
+ result = expected .resample ("24h " ).mean ()
219
219
tm .assert_series_equal (result , expected )
Original file line number Diff line number Diff line change @@ -243,10 +243,8 @@ def test_tick_delta_overflow():
243
243
# GH#55503 raise OutOfBoundsTimedelta, not OverflowError
244
244
tick = offsets .Hour (24 * 10 ** 9 )
245
245
msg = "Cannot cast 1000000000 days 00:00:00 to unit='ns' without overflow"
246
- depr_msg = "Day.delta is deprecated"
247
246
with pytest .raises (OutOfBoundsTimedelta , match = msg ):
248
- with tm .assert_produces_warning (FutureWarning , match = depr_msg ):
249
- tick .delta
247
+ tick .delta
250
248
251
249
252
250
@pytest .mark .parametrize ("cls" , tick_classes )
You can’t perform that action at this time.
0 commit comments