-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
CI: Remove float16 fixture value #32221
CI: Remove float16 fixture value #32221
Conversation
@jreback any reason you know of we should keep this fixture value? |
we very little support for float16; it does work in places but if it’s causing issues then maybe should just xfail those |
d5a860e
to
12ef51e
Compare
If we don't support it, then removing it from the fixture values seems more maintainbale than adding a lot of |
It appears that the test design is flawed. so we should change the test. Looking at the differences -0.68505859375 appears once in the result and twice in the expected. The result is correct. The test assumes that the randomly generated numbers in the Series will be unique. This is not always the case.
|
but to get ci to green quickly for now could just... diff --git a/pandas/tests/base/test_ops.py b/pandas/tests/base/test_ops.py
index 625d55900..54e459ed2 100644
--- a/pandas/tests/base/test_ops.py
+++ b/pandas/tests/base/test_ops.py
@@ -277,6 +277,8 @@ class TestIndexOps(Ops):
pytest.skip(f"values of {klass} cannot be changed")
elif isinstance(orig, pd.MultiIndex):
pytest.skip("MultiIndex doesn't support isna")
+ elif not orig.is_unique:
+ pytest.xfail("FIXME: test assumes fixture has unique values gh-32220")
# special assign to the numpy array
if is_datetime64tz_dtype(obj): and not mark the issue as closed. |
@simonjayhawkins Ah ok, I got confused because the issue mentioned However, you're right and |
Changed the PR to use the same xfail message as |
makes sense and we should leave the issue open. |
no need to backport as #32046 was not backported. |
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.
ci is green ex. conda issue.
since #32241 is merged, merging this to get ci to green. |
Thanks @SaturnFromTitan |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff
Hopefully, this fixes the flaky test