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

CLN: tests.indexes.test_setops.py #41121

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

topper-123
Copy link
Contributor

I'm experimenting with subclassing NumericIndex and using the test suite to check if everything passes ok (by adding the new subclass to indices_dict in conftest.py and making a makeXIndex func in `_testing.py.

COMPATIBLE_INCONSISTENT_PAIRS in test_setops.py is very tied to specific index classes, so is difficult to use on new index classes. So here's a PR to make this part more friendly to testing subclasses by making it test dtypes instead of index class.

@jreback jreback added the Index Related to the Index class or subclasses label Apr 26, 2021
@jreback jreback added this to the 1.3 milestone Apr 26, 2021
@jreback jreback added the Testing pandas testing functions or related to the test suite label Apr 26, 2021
@jreback jreback merged commit e9c85a4 into pandas-dev:master Apr 26, 2021
@jreback
Copy link
Contributor

jreback commented Apr 26, 2021

thanks @topper-123

@topper-123 topper-123 deleted the cln_test_setops branch April 26, 2021 15:12
yeshsurya pushed a commit to yeshsurya/pandas that referenced this pull request May 6, 2021
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Index Related to the Index class or subclasses 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