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

numpy-svn at scipy.org numpy-svn at scipy.org
Sat Feb 14 10:02:43 EST 2009


Author: cdavid
Date: 2009-02-14 09:02:39 -0600 (Sat, 14 Feb 2009)
New Revision: 6361

Modified:
   trunk/numpy/core/tests/test_multiarray.py
Log:
Fix typo in multiarray tests.

Modified: trunk/numpy/core/tests/test_multiarray.py
===================================================================
--- trunk/numpy/core/tests/test_multiarray.py	2009-02-14 14:54:26 UTC (rev 6360)
+++ trunk/numpy/core/tests/test_multiarray.py	2009-02-14 15:02:39 UTC (rev 6361)
@@ -805,7 +805,7 @@
         y = np.fromfile(f, dtype=self.dtype)
         f.close()
         assert_array_equal(y, self.x.flat)
-        os.unlink(filename)
+        os.unlink(self.filename)
 
     def test_roundtrip_filename(self):
         self.x.tofile(self.filename)
@@ -902,7 +902,7 @@
         s = f.read()
         f.close()
         assert_equal(s, '1.51,2.0,3.51,4.0')
-        os.unlink(filename)
+        os.unlink(self.filename)
 
     def test_tofile_format(self):
         x = np.array([1.51, 2, 3.51, 4], dtype=float)




More information about the Numpy-svn mailing list