-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
BUG: fix parsing by filtering out junk lines #2719
Conversation
This also fixes all the doctesting failures we currently see in the docs (some are due to these lines, but some are due to upstream changes) |
Codecov Report
@@ Coverage Diff @@
## main #2719 +/- ##
=======================================
Coverage 65.74% 65.74%
=======================================
Files 233 233
Lines 17844 17844
=======================================
Hits 11732 11732
Misses 6112 6112
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
except for minor typo, looks great
This looks good to me, except that the LGINT units comparison failed for me locally:
|
I think the |
Oh, great. Then I need to double check whether I use the same version as ci. |
OK, so this is the PR that brake stuff, and the suggested workaround for a global pin in setup.cfg won't do it for us: We do run remote-data tests for the latest astropy release (5.2.x currently), and with the dev version, so I would vote for making these changes for the dev test and live with the breaks for the windows online tests until 5.3 comes out rather than adding hacks. This change affects the |
Side note: I'm very much looking forward to use scientific-python/pytest-doctestplus#197, so our rst doctesting won't be bogged down at a doctest failure for a print command. |
This closes #2717
I'm on the fence whether this needs a changelog or not, I suppose it does as lines from the docs stopped working due to these junk lines, e.g. this one