Skip to content

Commit 5bc7272

Browse files
committed
Undo original change
1 parent 350ff72 commit 5bc7272

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pandas/tests/tseries/offsets/test_offsets_properties.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@
88
tests, or when trying to pin down the bugs exposed by the tests below.
99
"""
1010

11-
import zoneinfo
12-
1311
from hypothesis import (
1412
assume,
1513
given,
1614
)
1715
import pytest
1816

19-
from pandas.compat import WASM
20-
2117
import pandas as pd
2218
from pandas._testing._hypothesis import (
2319
DATETIME_JAN_1_1900_OPTIONAL_TZ,
@@ -32,15 +28,6 @@
3228
@given(DATETIME_JAN_1_1900_OPTIONAL_TZ, YQM_OFFSET)
3329
def test_on_offset_implementations(dt, offset):
3430
assume(not offset.normalize)
35-
# This case is flaky in CI 2024-11-04
36-
assume(
37-
not (
38-
WASM
39-
and isinstance(dt.tzinfo, zoneinfo.ZoneInfo)
40-
and dt.tzinfo.key == "Indian/Cocos"
41-
and isinstance(offset, pd.offsets.MonthBegin)
42-
)
43-
)
4431
# check that the class-specific implementations of is_on_offset match
4532
# the general case definition:
4633
# (dt + offset) - offset == dt

0 commit comments

Comments
 (0)