Skip to content

CLN/TST: test_series_align_multiindex_containing_nan #50516

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 3 commits into from
Jan 4, 2023

Conversation

lukemanley
Copy link
Member

@lukemanley lukemanley added Testing pandas testing functions or related to the test suite Clean labels Dec 31, 2022
tm.assert_series_equal(result1, expected1)
tm.assert_series_equal(result2, expected2)

mi1 = MultiIndex.from_arrays([[81.0, np.nan], [np.nan, np.nan]])
Copy link
Member

Choose a reason for hiding this comment

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

From the issue, I think this block should be a separate test

Copy link
Member Author

Choose a reason for hiding this comment

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

Ok, updated to split into two tests.

@mroeschke mroeschke added this to the 2.0 milestone Jan 4, 2023
@mroeschke mroeschke merged commit 3058713 into pandas-dev:main Jan 4, 2023
@mroeschke
Copy link
Member

Thanks @lukemanley

@phofl
Copy link
Member

phofl commented Jan 4, 2023

Thx as well, this was really hard to understand before

@lukemanley lukemanley deleted the clean-mi-test-49443 branch January 19, 2023 04:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TST: Refactor test_subtracting_two_series_with_unordered_index_and_all_nan_index
3 participants