summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-01-30 15:42:26 -0700
committerCharles Harris <charlesr.harris@gmail.com>2016-01-30 15:42:26 -0700
commit9cfdb218b16cba97800fc2ad0f37e1af780ab664 (patch)
treefcc7d8468edacb81a3165b8b5f3d79a90c90b9a4
parent0bba66540744223b3a10b76ef212780448bef874 (diff)
parent94b361b024faada5e74e2a4063d2837a22cd1eeb (diff)
downloadnumpy-9cfdb218b16cba97800fc2ad0f37e1af780ab664.tar.gz
Merge pull request #7149 from seberg/missing-suffix
TST: Add missing suffix to temppath manager
-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 32e0c32de..226dc88fa 100644
--- a/numpy/lib/tests/test_io.py
+++ b/numpy/lib/tests/test_io.py
@@ -194,7 +194,7 @@ class TestSavezLoad(RoundtripTest, TestCase):
def test_big_arrays(self):
L = (1 << 31) + 100000
a = np.empty(L, dtype=np.uint8)
- with temppath(prefix="numpy_test_big_arrays_") as tmp:
+ with temppath(prefix="numpy_test_big_arrays_", suffix=".npz") as tmp:
np.savez(tmp, a=a)
del a
npfile = np.load(tmp)