diff options
author | David Cournapeau <cournape@gmail.com> | 2009-02-14 15:02:39 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-02-14 15:02:39 +0000 |
commit | 5bc4aefda5bfd7dde9599e2f75ce58696d9bc2c1 (patch) | |
tree | 9f8b6b8ec8cca2afdb0f7c42c08f53c7f6f9f5a4 | |
parent | 54f7334e05b9519acddfb5308420d41bb8e5323b (diff) | |
download | numpy-5bc4aefda5bfd7dde9599e2f75ce58696d9bc2c1.tar.gz |
Fix typo in multiarray tests.
-rw-r--r-- | numpy/core/tests/test_multiarray.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/tests/test_multiarray.py b/numpy/core/tests/test_multiarray.py index 71f570aed..fd62d13ea 100644 --- a/numpy/core/tests/test_multiarray.py +++ b/numpy/core/tests/test_multiarray.py @@ -805,7 +805,7 @@ class TestIO(object): 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 @@ class TestIO(object): 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) |