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):
8181
8282class TestDateRanges (TestData ):
8383 def test_date_range_multiplication_overflow (self ):
84+ # GH#24255
8485 # check that overflows in calculating `addend = periods * stride`
8586 # are caught
8687 with tm .assert_produces_warning (None ):
@@ -95,6 +96,7 @@ def test_date_range_multiplication_overflow(self):
9596 date_range ('1969-05-04' , periods = 200000000 , freq = '30000D' )
9697
9798 def test_date_range_unsigned_overflow_handling (self ):
99+ # GH#24255
98100 # case where `addend = periods * stride` overflows int64 bounds
99101 # but not uint64 bounds
100102 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