File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
pandas/tests/indexes/datetimes Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ def test_date_range_timestamp_equiv_preserve_frequency(self):
81
81
82
82
class TestDateRanges (TestData ):
83
83
def test_date_range_multiplication_overflow (self ):
84
+ # GH#24255
84
85
# check that overflows in calculating `addend = periods * stride`
85
86
# are caught
86
87
with tm .assert_produces_warning (None ):
@@ -95,6 +96,7 @@ def test_date_range_multiplication_overflow(self):
95
96
date_range ('1969-05-04' , periods = 200000000 , freq = '30000D' )
96
97
97
98
def test_date_range_unsigned_overflow_handling (self ):
99
+ # GH#24255
98
100
# case where `addend = periods * stride` overflows int64 bounds
99
101
# but not uint64 bounds
100
102
dti = date_range (start = '1677-09-22' , end = '2262-04-11' , freq = 'D' )
You can’t perform that action at this time.
0 commit comments