Skip to content

Adjust tests in Indexing folder for string option #56107

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 20 commits into from
Nov 27, 2023

Conversation

phofl
Copy link
Member

@phofl phofl commented Nov 21, 2023

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Strings String extension data type and string data Arrow pyarrow functionality labels Nov 22, 2023
@phofl phofl requested a review from mroeschke November 22, 2023 22:11
@phofl
Copy link
Member Author

phofl commented Nov 22, 2023

This should be ready for a look

@@ -824,6 +826,7 @@ def replacer(self, how, from_key, to_key):
raise ValueError
return replacer

@pytest.mark.skipif(using_pyarrow_string_dtype(), reason="TODO: test is to complex")
Copy link
Member

Choose a reason for hiding this comment

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

Was the failure here do due a bug or something expected to work? Would be good to mention that here

Copy link
Member Author

Choose a reason for hiding this comment

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

I think everything works as expected, but the parametrisation is so complex that I couldn't figure this out to adjust efficiently, that's why I am skipping for now, added a comment

@mroeschke mroeschke added this to the 2.2 milestone Nov 27, 2023
@mroeschke mroeschke merged commit b19a093 into pandas-dev:main Nov 27, 2023
@mroeschke
Copy link
Member

Thanks @phofl

@phofl phofl deleted the tests_indexing branch November 27, 2023 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Strings String extension data type and string data 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