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

Unset PYTHONWARNINGS envvar before running subprocess tests. #5222

Merged
merged 3 commits into from Feb 25, 2014

Conversation

takluyver
Copy link
Member

The extra warnings in the subprocesses were causing test failures.

Closes gh-5218

Also, explicitly close a file, to squash some warnings seen while running the tests.

@Arfrever
Copy link

Use env.pop('PYTHONWARNINGS', None) to avoid KeyError...

@takluyver
Copy link
Member Author

Thanks, well spotted.

minrk added a commit that referenced this pull request Feb 25, 2014
Unset PYTHONWARNINGS envvar before running subprocess tests.
@minrk minrk merged commit 3647c1e into ipython:master Feb 25, 2014
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Unset PYTHONWARNINGS envvar before running subprocess tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failures with Python 3 and enabled warnings
3 participants