Skip to content

Commit 67dd5d3

Browse files
committed
test passing now
1 parent cfbd4b6 commit 67dd5d3

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

pandas/tests/tseries/offsets/test_common.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
from datetime import datetime
22

3-
from dateutil.tz.tz import tzlocal
43
import pytest
54

65
from pandas._libs.tslibs import (
76
OutOfBoundsDatetime,
87
Timestamp,
98
)
10-
from pandas.compat import IS64
119

1210
from pandas.tseries.offsets import (
1311
FY5253,
@@ -112,7 +110,7 @@ def d(_offset):
112110
return Timestamp(2008, 1, 2)
113111

114112

115-
def test_apply_out_of_range(request, tz_naive_fixture, _offset):
113+
def test_apply_out_of_range(tz_naive_fixture, _offset):
116114
tz = tz_naive_fixture
117115

118116
# try to create an out-of-bounds result timestamp; if we can't create
@@ -133,13 +131,6 @@ def test_apply_out_of_range(request, tz_naive_fixture, _offset):
133131
t = Timestamp("20080101", tz=tz)
134132
result = t + offset
135133
assert isinstance(result, datetime)
136-
137-
if isinstance(tz, tzlocal) and not IS64:
138-
# If we hit OutOfBoundsDatetime on non-64 bit machines
139-
# we'll drop out of the try clause before the next test
140-
request.node.add_marker(
141-
pytest.mark.xfail(reason="OverflowError inside tzlocal past 2038")
142-
)
143134
assert str(t.tzinfo) == str(result.tzinfo)
144135

145136
except OutOfBoundsDatetime:

0 commit comments

Comments
 (0)