Skip to content

Commit e77e2d3

Browse files
committed
update test
1 parent 19e8fb8 commit e77e2d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/tseries/offsets/test_ticks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def test_tick_addition(kls, expected):
240240

241241
def test_tick_delta_overflow():
242242
# GH#55503 raise OutOfBoundsTimedelta, not OverflowError
243-
tick = offsets.Day(10**9)
243+
tick = offsets.Hour(24 * 10**9)
244244
msg = "Cannot cast 1000000000 days 00:00:00 to unit='ns' without overflow"
245245
with pytest.raises(OutOfBoundsTimedelta, match=msg):
246246
tick.delta

0 commit comments

Comments
 (0)