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

Avoid importing 'yt' deep in the code base #2589

Merged
merged 1 commit into from
Aug 11, 2020

Conversation

Xarthisius
Copy link
Member

PR Summary

It would be nice if we could avoid doing import yt within the yt submodules themselves. I noticed it was happening solely due to yt._called_from_pytest, which I think can be achieved using existing config idiom used with nose.

@munkm munkm added enhancement Making something better tests: running tests Issues with the test setup labels May 8, 2020
yt/testing.py Outdated Show resolved Hide resolved
@matthewturk
Copy link
Member

@Xarthisius can you update the conflicts?

@Xarthisius
Copy link
Member Author

/format

@munkm munkm merged commit 36f76dc into yt-project:master Aug 11, 2020
@munkm
Copy link
Member

munkm commented Aug 11, 2020

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Making something better tests: running tests Issues with the test setup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants