-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Restrict u.spectral
equivalency to contexts where it is required
#673
Restrict u.spectral
equivalency to contexts where it is required
#673
Conversation
Concerning the failed doctests - need to think of a clean way to make this work in the docs. I am wondering if using equivalencies is really the best way to tackle the problem with lower/upper boundaries in the spectral ranges... |
Fixing the code rather than the tests hopefully will hold now. Concerning the failed The local astropy tests seem to succeed now at least without any failures potentially related to astropy/astropy#10283. *Rather, either one of the two right ways – had forgotten that |
@dhomeier - answering without looking: yes, |
@mhvk thanks; since there are only three instances which are also easily managed with the kwarg, I think there is no need for a major restructuring of the tests at this point. |
It seems you've covered all the bases here. The failures are due to inconsistencies with upstream currently (since we moved I'm tempted to say that this is good as it stands, as it passes all my use cases currently. |
Thanks @dhomeier! |
Fix for #671
Fairly pedestrian implementation; @mhvk your proposed solution to use
setup_class
/teardown_class
environments would require creating classes for the tests in question, right?Leaving this for consideration now; perhaps some discussion is due if the tests now still test what they are supposed to test (i.e. would a user in a normal work environment expect those equivalencies to be in effect as well)?