[Scipy-svn] r7109 - trunk/scipy/io/matlab/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Sun Jan 30 16:05:45 EST 2011


Author: ptvirtan
Date: 2011-01-30 15:05:44 -0600 (Sun, 30 Jan 2011)
New Revision: 7109

Modified:
   trunk/scipy/io/matlab/tests/test_streams.py
Log:
TST: io: close file handle before unlinking, for win32 (#1379)

Thanks to C. Gohlke for the patch.

Modified: trunk/scipy/io/matlab/tests/test_streams.py
===================================================================
--- trunk/scipy/io/matlab/tests/test_streams.py	2011-01-30 15:55:47 UTC (rev 7108)
+++ trunk/scipy/io/matlab/tests/test_streams.py	2011-01-30 21:05:44 UTC (rev 7109)
@@ -43,6 +43,7 @@
 
 def teardown():
     global fname, fs
+    fs.close()
     del fs
     os.unlink(fname)
 




More information about the Scipy-svn mailing list