diff options
author | mattip <matti.picus@gmail.com> | 2019-10-31 09:17:45 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-10-31 09:17:45 +0200 |
commit | 7bc36c2c39b4412ba8aa01ff1197c999920cad1f (patch) | |
tree | 793a553143f8c28a4ec7bb98aaf5c74eafa2a3aa /numpy | |
parent | e6168f1eb548aba75e1d7389b82b7eec2b57c389 (diff) | |
download | numpy-7bc36c2c39b4412ba8aa01ff1197c999920cad1f.tar.gz |
TST: fix failing test
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/lib/tests/test_io.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py index 1181fe986..4a5eec92c 100644 --- a/numpy/lib/tests/test_io.py +++ b/numpy/lib/tests/test_io.py @@ -583,7 +583,7 @@ class TestSaveTxt(object): except (MemoryError, OverflowError): pytest.skip("Cannot allocate enough memory for test") test_data = np.asarray([np.random.rand(np.random.randint(50,100),4) - for i in range(800000)]) + for i in range(800000)], dtype=object) with tempdir() as tmpdir: np.savez(os.path.join(tmpdir, 'test.npz'), test_data=test_data) |