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

Method test_isalpha

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

Source from the content-addressed store, hash-verified

304 assert_array_equal(A.isalnum(), [[False, False], [True, True], [False, True]])
305
306 def test_isalpha(self):
307 A = self.A()
308 assert_(issubclass(A.isalpha().dtype.type, np.bool))
309 assert_array_equal(A.isalpha(), [[False, False], [False, True], [False, True]])
310
311 def test_isdigit(self):
312 A = self.A()

Callers

nothing calls this directly

Calls 4

AMethod · 0.95
assert_Function · 0.90
assert_array_equalFunction · 0.90
isalphaMethod · 0.80

Tested by

no test coverage detected