Skip to content

Commit

Permalink
Mark tz OverflowError as xfail on WASM
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Mar 5, 2024
1 parent 4d4c017 commit 92ac8b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pandas/tests/tseries/offsets/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
)
from pandas.compat import (
IS64,
WASM,
is_platform_windows,
)

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

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

0 comments on commit 92ac8b7

Please sign in to comment.