-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Open
Labels
Testingpandas testing functions or related to the test suitepandas testing functions or related to the test suiteTimezonesTimezone data dtypeTimezone data dtype
Description
This test was patched in #60186 to skip a failing case on the Pyodide build
FAILED pandas/.venv-pyodide/lib/python3.11/site-packages/pandas/tests/tseries/offsets/test_offsets_properties.py::test_on_offset_implementations - AssertionError: assert True == (Timestamp('1900-01-01 00:02:20+0630', tz='Indian/Cocos') == datetime.datetime(1900, 1, 1, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Indian/Cocos')))
+ where True = is_on_offset(datetime.datetime(1900, 1, 1, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Indian/Cocos')))
+ where is_on_offset = <0 * MonthBegins>.is_on_offset
Falsifying example: test_on_offset_implementations(
dt=datetime.datetime(1900, 1, 1, 0, 0, tzinfo=zoneinfo.ZoneInfo(key='Indian/Cocos')),
offset=MonthBegin(n=0, normalize=False),
)
You can reproduce this example by temporarily adding @reproduce_failure('6.116.0', b'AXicY2J8y4AKAA8XAPE=') as a decorator on your test case
agriyakhetarpal
Metadata
Metadata
Assignees
Labels
Testingpandas testing functions or related to the test suitepandas testing functions or related to the test suiteTimezonesTimezone data dtypeTimezone data dtype