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

Method test_isspace

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

Source from the content-addressed store, hash-verified

270 assert_array_equal(self.A.islower(), [[True, False], [False, False], [False, False]])
271
272 def test_isspace(self):
273 assert_(issubclass(self.A.isspace().dtype.type, np.bool_))
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_))

Callers

nothing calls this directly

Calls 3

assert_Function · 0.90
assert_array_equalFunction · 0.90
isspaceMethod · 0.80

Tested by

no test coverage detected