summaryrefslogtreecommitdiff
path: root/numpy/lib/tests
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2021-08-05 13:48:43 +0300
committerRoss Barnowski <rossbar@berkeley.edu>2021-08-05 13:48:43 +0300
commitfe6e3afc2862a2734077c3d41d31470c3addc70b (patch)
treeb2d7d2f4af1acce39fcbb6f9cdc03019427dd286 /numpy/lib/tests
parent3c9e27907d6f4b0b88cb7464cc19f9f08a63b83e (diff)
downloadnumpy-fe6e3afc2862a2734077c3d41d31470c3addc70b.tar.gz
Rm numpy.lib.npyio.ndfromtxt.
Diffstat (limited to 'numpy/lib/tests')
-rw-r--r--numpy/lib/tests/test_io.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/numpy/lib/tests/test_io.py b/numpy/lib/tests/test_io.py
index d97ad76df..aa0037d32 100644
--- a/numpy/lib/tests/test_io.py
+++ b/numpy/lib/tests/test_io.py
@@ -2503,17 +2503,6 @@ class TestPathUsage:
data = np.genfromtxt(path)
assert_array_equal(a, data)
- def test_ndfromtxt(self):
- # Test outputting a standard ndarray
- with temppath(suffix='.txt') as path:
- path = Path(path)
- with path.open('w') as f:
- f.write(u'1 2\n3 4')
-
- control = np.array([[1, 2], [3, 4]], dtype=int)
- test = np.genfromtxt(path, dtype=int)
- assert_array_equal(test, control)
-
def test_mafromtxt(self):
# From `test_fancy_dtype_alt` above
with temppath(suffix='.txt') as path: