[Numpy-svn] [numpy/numpy] 3fd6b6: MAINT: Fix python3 ResourceWarning when running te...

GitHub noreply@github....
Fri Mar 29 09:41:43 CDT 2013

  Branch: refs/heads/maintenance/1.7.x
  Home:   https://github.com/numpy/numpy
  Commit: 3fd6b62c1db915726ba7ce6d20789ee24484c0d5
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-03-29 (Fri, 29 Mar 2013)

  Changed paths:
    M numpy/distutils/tests/test_exec_command.py

  Log Message:
  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.

More information about the Numpy-svn mailing list