You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pytest can run just fine with -OO, so we should just make sure the test suite succeeds.
A few steps need to be taken here:
Replace uses of assert outside of test cases with the appropriate explicit error raise or logic. Easy to do with ruff.
Make sure all __doc__ manipulation is done after a check that it's not None
Add a skipif marker to all test cases that check docstrings / help(). This is already done in astropy/utils/tests/test_parsing.py
Actually, I already have a branch with these changes and everything passing but I'm stuck on the side of the highway at the moment after the bus engine broke down and can't get my mobile hotspot to work.
How many separate PRs would the maintainers like this to be?
Hi humans 👋 - this issue was labeled as Close? approximately 6 hours ago. If you think this issue should not be closed, a maintainer should remove the Close? label - otherwise, I will close this issue in 7 days.
If you believe I commented on this issue incorrectly, please report this here
I'm going to close this issue as per my previous message, but if you feel that this issue should stay open, then feel free to re-open and remove the Close? label.
If this is the first time I am commenting on this issue, or if you believe I closed this issue incorrectly, please report this here
Activity
alchzh commentedon Dec 23, 2023
pytest can run just fine with
-OO, so we should just make sure the test suite succeeds.A few steps need to be taken here:
assertoutside of test cases with the appropriate explicit error raise or logic. Easy to do with ruff.__doc__manipulation is done after a check that it's notNonehelp(). This is already done inastropy/utils/tests/test_parsing.pyActually, I already have a branch with these changes and everything passing but I'm stuck on the side of the highway at the moment after the bus engine broke down and can't get my mobile hotspot to work.
How many separate PRs would the maintainers like this to be?
pllim commentedon Dec 23, 2023
Hard to tell. If you let me know which branch on your fork these changes are in, I can compare and see.
alchzh commentedon Dec 24, 2023
Just got home and pushed this https://github.com/alchzh/astropy/tree/support-OO
github-actions commentedon Dec 10, 2024
Hi humans 👋 - this issue was labeled as Close? approximately 6 hours ago. If you think this issue should not be closed, a maintainer should remove the Close? label - otherwise, I will close this issue in 7 days.
If you believe I commented on this issue incorrectly, please report this here
github-actions commentedon Dec 18, 2024
I'm going to close this issue as per my previous message, but if you feel that this issue should stay open, then feel free to re-open and remove the Close? label.
If this is the first time I am commenting on this issue, or if you believe I closed this issue incorrectly, please report this here