-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
TST (string dtype): duplicate pandas/tests/indexes/object tests specifically for string dtypes #60117
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
TST (string dtype): duplicate pandas/tests/indexes/object tests specifically for string dtypes #60117
Conversation
…fically for string dtypes
@@ -156,59 +155,3 @@ def test_get_indexer_non_unique_np_nats(self, np_nat_fixture, np_nat_fixture2): | |||
expected_indexer = np.array([1, 3], dtype=np.intp) | |||
tm.assert_numpy_array_equal(indexer, expected_indexer) | |||
tm.assert_numpy_array_equal(missing, expected_missing) | |||
|
|||
|
|||
class TestSliceLocs: |
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.
The remaining tests here were already parametrized with any_string_dtype
, so only keeping them in pandas/tests/indexes/string
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
…fically for string dtypes (pandas-dev#60117) (cherry picked from commit d8905e4)
Manual backport in #60131 |
We have some
Index
tests specifically for object dtype. Some of those will already get tested through the builds that enable the string dtype by default, but so this PR essentially duplicated those tests and:dtype=object
, and deleted the ones that are specific to stringsany_string_dtype
fixture)