-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
MAINT: add workaround for doctesting with new numpy repr #465
Conversation
pyvo/conftest.py
Outdated
@@ -15,6 +16,8 @@ | |||
except ImportError: | |||
ASTROPY_HEADER = False | |||
|
|||
# Keep this until we require numpy to be >=2.0 | |||
np.set_printoptions(legacy="1.25") |
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.
Do you need a numpy version check before calling it?
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 says that apparently I do 😅
Codecov Report
@@ Coverage Diff @@
## main #465 +/- ##
=======================================
Coverage 80.08% 80.08%
=======================================
Files 52 52
Lines 6020 6020
=======================================
Hits 4821 4821
Misses 1199 1199 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Note that online test failure is expected and is taken care of in a separate PR already. |
d9f1640
to
bdea8e1
Compare
(messing with the changelog label to test the GHA) |
MAINT: add workaround for doctesting with new numpy repr
This should close #464 and fix the CI failure we see in the devtest job.