From 08c507b740a1a8f1f55217f683938c375a006975 Mon Sep 17 00:00:00 2001 From: cgohlke Date: Mon, 16 Jul 2012 13:48:47 -0700 Subject: Fix `WindowsError: [Error 32]` in test_not_closing_opened_fid (test_io.TestSavezLoad) --- numpy/lib/tests/test_io.py | 1 + 1 file changed, 1 insertion(+) (limited to 'numpy/lib') 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): -- cgit v1.2.1