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

Method test_isdigit

numpy/_core/tests/test_defchararray.py:311–314  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

309 assert_array_equal(A.isalpha(), [[False, False], [False, True], [False, True]])
310
311 def test_isdigit(self):
312 A = self.A()
313 assert_(issubclass(A.isdigit().dtype.type, np.bool))
314 assert_array_equal(A.isdigit(), [[False, False], [True, False], [False, False]])
315
316 def test_islower(self):
317 A = self.A()

Callers

nothing calls this directly

Calls 4

AMethod · 0.95
assert_Function · 0.90
assert_array_equalFunction · 0.90
isdigitMethod · 0.80

Tested by

no test coverage detected