summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_regression.py
diff options
context:
space:
mode:
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):