[Scipy-svn] r7132 - branches/0.9.x/scipy/io/matlab/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Thu Feb 10 09:36:29 EST 2011


Author: rgommers
Date: 2011-02-10 08:36:28 -0600 (Thu, 10 Feb 2011)
New Revision: 7132

Modified:
   branches/0.9.x/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.

(backport of r7109)

Modified: branches/0.9.x/scipy/io/matlab/tests/test_streams.py
===================================================================
--- branches/0.9.x/scipy/io/matlab/tests/test_streams.py	2011-02-10 08:58:58 UTC (rev 7131)
+++ branches/0.9.x/scipy/io/matlab/tests/test_streams.py	2011-02-10 14:36:28 UTC (rev 7132)
@@ -43,6 +43,7 @@
 
 def teardown():
     global fname, fs
+    fs.close()
     del fs
     os.unlink(fname)
 




More information about the Scipy-svn mailing list