We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbeeb1f commit 36d2e98Copy full SHA for 36d2e98
pandas/tests/tseries/offsets/test_offsets_properties.py
@@ -14,6 +14,8 @@
14
)
15
import pytest
16
17
+from pandas.compat import WASM
18
+
19
import pandas as pd
20
from pandas._testing._hypothesis import (
21
DATETIME_JAN_1_1900_OPTIONAL_TZ,
@@ -28,6 +30,14 @@
28
30
@given(DATETIME_JAN_1_1900_OPTIONAL_TZ, YQM_OFFSET)
29
31
def test_on_offset_implementations(dt, offset):
32
assume(not offset.normalize)
33
+ # This case is flaky in CI 2024-11-04
34
+ assume(
35
+ not (
36
+ WASM
37
+ and dt.tzinfo.key == "Indian/Cocos"
38
+ and isinstance(offset, pd.offsets.MonthBegin)
39
+ )
40
41
# check that the class-specific implementations of is_on_offset match
42
# the general case definition:
43
# (dt + offset) - offset == dt
0 commit comments