ipython/ipython — pull request #5222 by takluyver (2014-02-25 18:12:55+00:00)
Title: Unset PYTHONWARNINGS envvar before running subprocess tests.

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.