summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_io.py
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2019-12-06 11:03:03 -0800
committerGitHub <noreply@github.com>2019-12-06 11:03:03 -0800
commitf6a7a440669c6f386a1b15e081c6db740bb87a88 (patch)
treeeececcc92e1c14eb08d46591ec7aab5932b9ea31 /numpy/lib/tests/test_io.py
parentabde0a775e19b9f84cb3930f065cdf07f94f8526 (diff)
downloadnumpy-f6a7a440669c6f386a1b15e081c6db740bb87a88.tar.gz
Revert "DEP: issue deprecation warning when creating ragged array (NEP 34)"revert-14794-nep-0034-impl
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 39fe40685..a095e250a 100644
--- a/numpy/lib/tests/test_io.py
+++ b/numpy/lib/tests/test_io.py
@@ -580,7 +580,7 @@ class TestSaveTxt(object):
def test_large_zip(self):
# The test takes at least 6GB of memory, writes a file larger than 4GB
test_data = np.asarray([np.random.rand(np.random.randint(50,100),4)
- for i in range(800000)], dtype=object)
+ for i in range(800000)])
with tempdir() as tmpdir:
np.savez(os.path.join(tmpdir, 'test.npz'), test_data=test_data)