MCPcopy Index your code
hub / github.com/numpy/numpy / test_genfromtxt

Method test_genfromtxt

numpy/_core/tests/test_longdouble.py:236–241  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

234 @pytest.mark.skipif(string_to_longdouble_inaccurate,
235 reason="Need strtold_l")
236 def test_genfromtxt(self):
237 with temppath() as path:
238 with open(path, 'w') as f:
239 f.write(self.out)
240 res = np.genfromtxt(path, dtype=np.longdouble)
241 assert_equal(res, self.tgt)
242
243 @pytest.mark.skipif(string_to_longdouble_inaccurate,
244 reason="Need strtold_l")

Callers

nothing calls this directly

Calls 4

temppathFunction · 0.90
assert_equalFunction · 0.90
openFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected