Skip to content

TST/REF: collect Index.equals tests #38011

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

Merged
merged 1 commit into from
Nov 24, 2020
Merged

Conversation

jbrockmendel
Copy link
Member

No description provided.

Tests shared for DatetimeIndex/TimedeltaIndex/PeriodIndex
"""
from datetime import datetime, timedelta

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should these be in pandas/tests/indexes/datetimelike/test_equals (or as appropriate)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

havent decided. im split between implementing tests/indexes/{index_type}/methods/ vs tests/indexes/methods/ for things like equals, leaning towards the latter.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah doing this for other types, so i think it makes sense here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mind holding off on that move while i get a little closer to getting everything collected

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kk, ok for merge here, but really think this is inconcsistent

@jreback jreback added Indexing Related to indexing on series/frames, not to indexes themselves Testing pandas testing functions or related to the test suite labels Nov 23, 2020
@jreback jreback added this to the 1.2 milestone Nov 24, 2020
@jreback jreback merged commit 3ba6cc6 into pandas-dev:master Nov 24, 2020
@jbrockmendel jbrockmendel deleted the tst-equals branch November 24, 2020 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexing Related to indexing on series/frames, not to indexes themselves Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants