-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
TST: Ignore exp FP exceptions test for glibc ver < 2.17 #19209
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
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.
Those tests should not be skipped on windows, IMO
Edit: braino
numpy/core/tests/test_umath.py
Outdated
# Older version of glibc may not raise the correct FP exceptions | ||
# See: https://github.com/numpy/numpy/issues/19192 | ||
if (get_glibc_version() >= 2.17): |
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.
# Older version of glibc may not raise the correct FP exceptions | |
# See: https://github.com/numpy/numpy/issues/19192 | |
if (get_glibc_version() >= 2.17): | |
# Older version of glibc may not raise the correct FP exceptions | |
# See: https://github.com/numpy/numpy/issues/19192 | |
# The check for ==0 is the fallback for non-glibc systems | |
if (get_glibc_version() >= 2.17 or get_glibc_version() == 0): |
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.
Yup, fixed it. Works on windows now.
Sorry, I forgot a pretty important word while looking at this in a rush this morning 😅 |
hah, no problem, we've all got a lot of things going on ;)
of course :) |
Thanks @r-devulap . |
Fixes #19192