File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
pandas/tests/tseries/offsets Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 88tests, or when trying to pin down the bugs exposed by the tests below.
99"""
1010
11- import zoneinfo
12-
1311from hypothesis import (
1412 assume ,
1513 given ,
1614)
1715import pytest
1816
19- from pandas .compat import WASM
20-
2117import pandas as pd
2218from pandas ._testing ._hypothesis import (
2319 DATETIME_JAN_1_1900_OPTIONAL_TZ ,
3228@given (DATETIME_JAN_1_1900_OPTIONAL_TZ , YQM_OFFSET )
3329def 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
You can’t perform that action at this time.
0 commit comments