Skip to content

Commit 87acff1

Browse files
committed
add GH reference
1 parent db4da3b commit 87acff1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/indexes/datetimes/test_date_range.py

+2
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def test_date_range_timestamp_equiv_preserve_frequency(self):
8181

8282
class 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')

0 commit comments

Comments
 (0)