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

Function test_fromstring

numpy/_core/tests/test_longdouble.py:88–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

86
87@pytest.mark.skipif(string_to_longdouble_inaccurate, reason="Need strtold_l")
88def test_fromstring():
89 o = 1 + LD_INFO.eps
90 s = (" " + str(o)) * 5
91 a = np.array([o] * 5)
92 assert_equal(np.fromstring(s, sep=" ", dtype=np.longdouble), a,
93 err_msg=f"reading '{s}'")
94
95
96def test_fromstring_complex():

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
fromstringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…