numpy/numpy — pull request #3179 by charris (2013-03-28 16:55:18+00:00)
Title: MAINT: Fix python3 ResourceWarning when running test_exec_command.py

The tests in test_exec_command.py used with blocks with a context
manager that could redirect stderr and stdout to temporary files but
those files were not closed on exit from the block.