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

Method test_isspace

numpy/_core/tests/test_strings.py:310–312  ·  view source on GitHub ↗
(self, in_, out, dt)

Source from the content-addressed store, hash-verified

308 (["\t1", " \t\r \n"], [False, True])
309 ])
310 def test_isspace(self, in_, out, dt):
311 in_ = np.array(in_, dtype=dt)
312 assert_array_equal(np.strings.isspace(in_), out)
313
314 @pytest.mark.parametrize("in_,out", [
315 ('', False),

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
isspaceMethod · 0.80

Tested by

no test coverage detected