[Scipy-svn] r3019 - trunk/Lib/io/tests

scipy-svn at scipy.org scipy-svn at scipy.org
Sat May 19 18:04:29 EDT 2007


Author: pearu
Date: 2007-05-19 17:04:23 -0500 (Sat, 19 May 2007)
New Revision: 3019

Modified:
   trunk/Lib/io/tests/test_npfile.py
Log:
Fix io.npfile test for win32 platform.

Modified: trunk/Lib/io/tests/test_npfile.py
===================================================================
--- trunk/Lib/io/tests/test_npfile.py	2007-05-19 18:06:05 UTC (rev 3018)
+++ trunk/Lib/io/tests/test_npfile.py	2007-05-19 22:04:23 UTC (rev 3019)
@@ -12,6 +12,7 @@
 
     def test_init(self):
         fd, fname = mkstemp()
+        os.close(fd)
         npf = npfile(fname)
         arr = N.reshape(N.arange(10), (5,2))
         self.assertRaises(IOError, npf.write_array, arr)




More information about the Scipy-svn mailing list