Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: test_on_offset_implementations failing on WASM on CI #60205

Open
mroeschke opened this issue Nov 6, 2024 · 0 comments
Open

TST: test_on_offset_implementations failing on WASM on CI #60205

mroeschke opened this issue Nov 6, 2024 · 0 comments
Labels
Testing pandas testing functions or related to the test suite Timezones Timezone data dtype

Comments

@mroeschke
Copy link
Member

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
@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Timezones Timezone data dtype labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite Timezones Timezone data dtype
Projects
None yet
Development

No branches or pull requests

1 participant