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

Function test_fromstring_bogus

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

Source from the content-addressed store, hash-verified

120
121
122def test_fromstring_bogus():
123 with assert_raises(ValueError):
124 np.fromstring("1. 2. 3. flop 4.", dtype=float, sep=" ")
125
126
127def test_fromstring_empty():

Callers

nothing calls this directly

Calls 2

assert_raisesFunction · 0.90
fromstringMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…