Skip to content
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

Use context managers for units.set_enabled_equivalencies in tests #725

Open
StanczakDominik opened this issue Nov 28, 2019 · 0 comments
Open
Labels

Comments

@StanczakDominik
Copy link
Member

As it stands, enabling equivalencies in tests applies to the whole test suite. It would probably be best to apply equivalencies to tests via context managers, as per Astropy docs. I'd expect a bunch of tests to break once we remove this.

Originally posted by @StanczakDominik in #648

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants