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

Method test_fromstring

numpy/_core/tests/test_regression.py:874–876  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

872 assert_equal(np.binary_repr(0, width=3), '000')
873
874 def test_fromstring(self):
875 assert_equal(np.fromstring("12:09:09", dtype=int, sep=":"),
876 [12, 9, 9])
877
878 def test_searchsorted_variable_length(self):
879 x = np.array(['a', 'aa', 'b'])

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
fromstringMethod · 0.80

Tested by

no test coverage detected