summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_regression.py
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2011-03-11 17:42:08 +0800
committerrgommers <ralf.gommers@googlemail.com>2011-03-11 18:06:01 +0800
commit7ca223e626ebf8749a0a7b08ba35c579b62e5e81 (patch)
tree3a72cba70a9ecd7931b816583abe29cc48643d47 /numpy/lib/tests/test_regression.py
parent87e0f5576f80cc3314ae368edae3461ec5c1b188 (diff)
downloadnumpy-7ca223e626ebf8749a0a7b08ba35c579b62e5e81.tar.gz
TST: fix ResourceWarning under Python 3.2
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
-rw-r--r--numpy/lib/tests/test_regression.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_regression.py b/numpy/lib/tests/test_regression.py
index ea4d75f6b..c0cfff9a5 100644
--- a/numpy/lib/tests/test_regression.py
+++ b/numpy/lib/tests/test_regression.py
@@ -166,6 +166,7 @@ class TestRegression(TestCase):
except:
raise AssertionError("ticket #1243")
finally:
+ sys.stdout.close()
sys.stdout = oldstdout
def test_bincount_empty(self):