[Numpy-svn] r4858 - trunk/numpy/core/tests

numpy-svn at scipy.org numpy-svn at scipy.org
Tue Mar 11 01:14:12 EDT 2008


Author: stefan
Date: 2008-03-11 00:14:09 -0500 (Tue, 11 Mar 2008)
New Revision: 4858

Modified:
   trunk/numpy/core/tests/test_memmap.py
Log:
Try to access file only once to make Windows tests pass.


Modified: trunk/numpy/core/tests/test_memmap.py
===================================================================
--- trunk/numpy/core/tests/test_memmap.py	2008-03-11 02:59:00 UTC (rev 4857)
+++ trunk/numpy/core/tests/test_memmap.py	2008-03-11 05:14:09 UTC (rev 4858)
@@ -33,6 +33,7 @@
         fp = memmap(tmpname, dtype=self.dtype, mode='w+',
                        shape=self.shape)
         fp[:] = self.data[:]
+        del fp
         os.unlink(tmpname)
 
     def test_flush(self):




More information about the Numpy-svn mailing list