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

Method test_isdigit

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

Source from the content-addressed store, hash-verified

292 (["a", "012345"], [False, True]),
293 ])
294 def test_isdigit(self, in_, out, dt):
295 in_ = np.array(in_, dtype=dt)
296 assert_array_equal(np.strings.isdigit(in_), out)
297
298 @pytest.mark.parametrize("in_,out", [
299 ("", False),

Callers

nothing calls this directly

Calls 2

assert_array_equalFunction · 0.90
isdigitMethod · 0.80

Tested by

no test coverage detected