-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Adding test for assert_equal_index with empty iterables #29211
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
Adding test for assert_equal_index with empty iterables #29211
Conversation
|
||
|
||
def test_index_equal_empty_iterable(): | ||
a = MultiIndex(levels=[[], []], codes=[[], []], names=['a', 'b']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reference issue as a comment right above.
You will need to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move this test to pandas/tests/indexes/multi/test_constructor.py
Thanks @VijayantSoni |
Thank you guys @mroeschke @gfyoung |
…9211) * Adding test for assert_equal_index with empty iterables * Adding issue # in comment * formatted file using black * Move test to indexes/multi/test_constructor.py
…9211) * Adding test for assert_equal_index with empty iterables * Adding issue # in comment * formatted file using black * Move test to indexes/multi/test_constructor.py
…9211) * Adding test for assert_equal_index with empty iterables * Adding issue # in comment * formatted file using black * Move test to indexes/multi/test_constructor.py
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff