Skip to content

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