-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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: un-xfail incorrectly xfailed tests for maybe_promote #28564
Conversation
@jreback gentle ping. This a blocker for a collection of PRs to fix about a third of our existing xfails. |
dtype = np.object_ | ||
|
||
return dtype, fill_value | ||
|
||
|
||
def _check_lossless_cast(value, dtype: np.dtype) -> bool: |
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 nice, though I think we have several implementation of this (or maybe for the array form) in this file, in the future would be nice to consolidate.
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.
will take a look. plenty of follow-ups coming up for this. hopefully will be orthogonal and small.
thanks @jbrockmendel |
This sits on top of #28561.