Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TST: test_on_offset_implementations failing on WASM on CI #60205

Copy link
Copy link
Open
@mroeschke

Description

@mroeschke
Issue body actions

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

No one assigned

    Labels

    Testingpandas testing functions or related to the test suitepandas testing functions or related to the test suiteTimezonesTimezone data dtypeTimezone data dtype

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.