Skip to content

Commit feaac77

Browse files
Mark tz OverflowError as xfail on WASM
1 parent 4d4c017 commit feaac77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/tseries/offsets/test_common.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
)
1010
from pandas.compat import (
1111
IS64,
12+
WASM,
1213
is_platform_windows,
1314
)
1415

@@ -130,7 +131,7 @@ def test_apply_out_of_range(request, tz_naive_fixture, _offset):
130131
if tz is not None:
131132
assert t.tzinfo is not None
132133

133-
if isinstance(tz, tzlocal) and not IS64 and _offset is not DateOffset:
134+
if isinstance(tz, tzlocal) and ((not IS64) or WASM) and _offset is not DateOffset:
134135
# If we hit OutOfBoundsDatetime on non-64 bit machines
135136
# we'll drop out of the try clause before the next test
136137
request.applymarker(

0 commit comments

Comments
 (0)