MCPcopy Create free account
hub / github.com/numpy/numpy / test_genfromtxt

Method test_genfromtxt

numpy/core/tests/test_longdouble.py:250–255  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

248 @pytest.mark.skipif(string_to_longdouble_inaccurate,
249 reason="Need strtold_l")
250 def test_genfromtxt(self):
251 with temppath() as path:
252 with open(path, 'w') as f:
253 f.write(self.out)
254 res = np.genfromtxt(path, dtype=np.longdouble)
255 assert_equal(res, self.tgt)
256
257 @pytest.mark.skipif(string_to_longdouble_inaccurate,
258 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