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

Method fail

numpy/core/tests/test_defchararray.py:565–566  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

563 def test_isnumeric(self):
564
565 def fail():
566 self.A.isnumeric()
567
568 assert_raises(TypeError, fail)
569 assert_(issubclass(self.B.isnumeric().dtype.type, np.bool_))

Callers

nothing calls this directly

Calls 2

isnumericMethod · 0.80
isdecimalMethod · 0.80

Tested by

no test coverage detected