summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_io.py
diff options
context:
space:
mode:
authorJulian Taylor <juliantaylor108@gmail.com>2014-02-09 12:45:04 +0100
committerJulian Taylor <juliantaylor108@gmail.com>2014-02-09 12:45:04 +0100
commitdf66018e576dfbf25a82e7f4399350bae57eef5c (patch)
tree9c23a674bd0f8f0dca66c7c1a3b6102d3d62a682 /numpy/lib/tests/test_io.py
parentf2d06ceb03490d60a5720581f2a0bef75cb9ce89 (diff)
parent524b9eaa33ec67e34eb31a208e02bb934f778096 (diff)
downloadnumpy-df66018e576dfbf25a82e7f4399350bae57eef5c.tar.gz
Merge pull request #4271 from juliantaylor/big-file-test-fix
TST: fix test_io.TestSavezLoad
Diffstat (limited to 'numpy/lib/tests/test_io.py')
-rw-r--r--numpy/lib/tests/test_io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py
index 2ee5c838e..8995fad64 100644
--- a/numpy/lib/tests/test_io.py
+++ b/numpy/lib/tests/test_io.py
@@ -187,7 +187,7 @@ class TestSavezLoad(RoundtripTest, TestCase):
L = (1 << 31) + 100000
a = np.empty(L, dtype=np.uint8)
with tempdir() as tmpdir:
- tmp = open(os.path.join(tmpdir, "file.npz"), "w")
+ tmp = os.path.join(tmpdir, "file.npz")
np.savez(tmp, a=a)
del a
npfile = np.load(tmp)