-
-
Notifications
You must be signed in to change notification settings - Fork 2k
ENH: Add astropy_support context manager #19061
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
base: main
Are you sure you want to change the base?
ENH: Add astropy_support context manager #19061
Conversation
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
pllim
left a comment
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.
Did an AI write this? Please declare. Thanks.
Squash out the wrong change log fragment file.
Need example in user doc.
|
Please address the rest of my comments. Thanks. |
- Moved astropy_support function from separate contexts.py to units.py - Removed contexts.py module as requested by reviewer - Updated __init__.py imports
750bcc8 to
311110b
Compare
311110b to
b2bf618
Compare
|
Done, the tests are running now. |
Closes #8860. Adds a convenience context manager
astropy_support()that enables bothquantity_support()andtime_support()simultaneously.