-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Skipt failing tests for numpy dev #40877
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
@simonjayhawkins if an issue with 1.2.4 release we can backport here |
I've milestoned 1.2.4 but may need manual backport (the number of tests failing is different) |
The test not failing on 1.2.4 is skipped there, will probably cause a merge conflict anyway |
@@ -52,6 +54,11 @@ def test_array_scalar_like_equivalence(data, all_arithmetic_operators): | |||
def test_array_NA(data, all_arithmetic_operators): | |||
if "truediv" in all_arithmetic_operators: | |||
pytest.skip("division with pd.NA raises") | |||
if ( | |||
"floordiv" in all_arithmetic_operators |
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.
all_arithmetic_operators is a scalar, despite the name. maybe should be ==
and add the dunders for clarity?
and then maybe simplify further...
if all_arithmetic_operators in ("__floordiv__", "__rfloordiv__"):
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.
See below
@@ -52,6 +54,11 @@ def test_array_scalar_like_equivalence(data, all_arithmetic_operators): | |||
def test_array_NA(data, all_arithmetic_operators): | |||
if "truediv" in all_arithmetic_operators: | |||
pytest.skip("division with pd.NA raises") | |||
if ( | |||
"floordiv" in all_arithmetic_operators | |||
or "rfloordiv" in all_arithmetic_operators |
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.
since this is already true if "floordiv" in all_arithmetic_operators since "floordiv" in "rfloordiv"
is True
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.
Thats a good point, would go with this then?
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.
thanks @phofl lgtm. let's merge on green to get ci passing.
@meeseeksdev backport 1.2.x |
Something went wrong ... Please have a look at my logs. |
Merged, looks like numpy identified the source already, can probably revert next sunday |
* Skipt failing tests for numpy dev * Add missed test to skip * Change if condition (cherry picked from commit 895f0b4)
ok will backport to keep ci green on 1.2.x in the meantime. |
@meeseeksdev backport 1.2.x |
Í have added #40882 manually |
This reverts commit 895f0b4
…-dev#41015) This reverts commit 895f0b4 (cherry picked from commit 70435eb)
Revert "Skipt failing tests for numpy dev (pandas-dev#40877)" (pandas-dev#41015)
…-dev#41015) This reverts commit 895f0b4
* Skipt failing tests for numpy dev * Add missed test to skip * Change if condition
…-dev#41015) This reverts commit 895f0b4
Skipping for now.