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

Method test_loadtxt

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

Source from the content-addressed store, hash-verified

243 @pytest.mark.skipif(string_to_longdouble_inaccurate,
244 reason="Need strtold_l")
245 def test_loadtxt(self):
246 with temppath() as path:
247 with open(path, 'w') as f:
248 f.write(self.out)
249 res = np.loadtxt(path, dtype=np.longdouble)
250 assert_equal(res, self.tgt)
251
252 @pytest.mark.skipif(string_to_longdouble_inaccurate,
253 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