diff options
author | cgohlke <cgohlke@uci.edu> | 2012-07-16 13:48:47 -0700 |
---|---|---|
committer | cgohlke <cgohlke@uci.edu> | 2012-07-16 13:48:47 -0700 |
commit | 08c507b740a1a8f1f55217f683938c375a006975 (patch) | |
tree | 6ee1c186b27bdf598562213a5c79a9b9c6d0af95 | |
parent | f369ed602922ae19f77a54838ca2e7b65697c119 (diff) | |
download | numpy-08c507b740a1a8f1f55217f683938c375a006975.tar.gz |
Fix `WindowsError: [Error 32]` in test_not_closing_opened_fid (test_io.TestSavezLoad)
-rw-r--r-- | numpy/lib/tests/test_io.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py index 0762c82e1..f8caeedb6 100644 --- a/numpy/lib/tests/test_io.py +++ b/numpy/lib/tests/test_io.py @@ -187,6 +187,7 @@ class TestSavezLoad(RoundtripTest, TestCase): assert_(not fp.closed) finally: + fp.close() os.remove(tmp) def test_closing_fid(self): |