MCPcopy Create free account
hub / github.com/numpy/numpy / test_istitle

Method test_istitle

numpy/core/tests/test_defchararray.py:276–278  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

274 assert_array_equal(self.A.isspace(), [[False, False], [False, False], [False, False]])
275
276 def test_istitle(self):
277 assert_(issubclass(self.A.istitle().dtype.type, np.bool_))
278 assert_array_equal(self.A.istitle(), [[False, False], [False, False], [False, False]])
279
280 def test_isupper(self):
281 assert_(issubclass(self.A.isupper().dtype.type, np.bool_))

Callers

nothing calls this directly

Calls 3

assert_Function · 0.90
assert_array_equalFunction · 0.90
istitleMethod · 0.80

Tested by

no test coverage detected