-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Adjust tests in extension folder for new string option #56191
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
Conversation
return self.frame_scalar_exc | ||
result = self.frame_scalar_exc | ||
|
||
if using_pyarrow_string_dtype() and result is not None: |
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.
cc @jbrockmendel if this follows how you imagined _get_expected_exception
to function
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.
I am open to other suggestions if we keep in mind that this is a temporary solution until we enable the option by default which will make testing this a lot easier
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.
this is pretty ugly but since its temporary (and im way late in reviewing) im not inclined to worry about it. There are a bunch of similar things that i think could be improved by catching pa.lib.ArrowNotImplementedError and re-raising as TypeError for cases that are not supposed to work
cc @mroeschke gentle ping |
Thanks @phofl |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.