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

GitHub noreply@github....
Fri Mar 29 04:14:04 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 15b7f9b6519d3b5c3d4ddc2a23459ca089527fc0
      https://github.com/numpy/numpy/commit/15b7f9b6519d3b5c3d4ddc2a23459ca089527fc0
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-03-28 (Thu, 28 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.


  Commit: fd6f038b2e003588d3c0f75a6111b3eb8616f40f
      https://github.com/numpy/numpy/commit/fd6f038b2e003588d3c0f75a6111b3eb8616f40f
  Author: njsmith <njs@pobox.com>
  Date:   2013-03-29 (Fri, 29 Mar 2013)

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

  Log Message:
  -----------
  Merge pull request #3179 from charris/fix-resource-warning

MAINT: Fix python3 ResourceWarning when running test_exec_command.py


Compare: https://github.com/numpy/numpy/compare/40742184df68...fd6f038b2e00


More information about the Numpy-svn mailing list