summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_format.py
diff options
context:
space:
mode:
authorrgommers <ralf.gommers@googlemail.com>2011-03-01 16:51:53 +0800
committerrgommers <ralf.gommers@googlemail.com>2011-03-02 16:29:23 +0800
commit788356d6b7562749f76146d1c4bb05ba2344c865 (patch)
treea981ddbda7f67ef457485b2db6017854c981731d /numpy/lib/tests/test_format.py
parent390dd85b17a842852e93acb20f94abfbfa37c966 (diff)
downloadnumpy-788356d6b7562749f76146d1c4bb05ba2344c865.tar.gz
TST: clean up some ResourceWarnings from python 3.2.
Also make the sys.stdout temporary redirection in one of the tests a little more robust. That is still necessary, because np.who is very noisy.
Diffstat (limited to 'numpy/lib/tests/test_format.py')
-rw-r--r--numpy/lib/tests/test_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_format.py b/numpy/lib/tests/test_format.py
index 2e6935141..ff8e93704 100644
--- a/numpy/lib/tests/test_format.py
+++ b/numpy/lib/tests/test_format.py
@@ -463,7 +463,7 @@ def test_memmap_roundtrip():
# Check that reading the file using memmap works.
ma = format.open_memmap(nfn, mode='r')
#yield assert_array_equal, ma, arr
- #del ma
+ del ma
def test_write_version_1_0():