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

Method test_startswith

numpy/_core/tests/test_regression.py:708–710  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

706 _assert_valid_refcount(np.vdot)
707
708 def test_startswith(self):
709 ca = np.char.array(['Hi', 'There'])
710 assert_equal(ca.startswith('H'), [True, False])
711
712 def test_noncommutative_reduce_accumulate(self):
713 # Ticket #413

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
startswithMethod · 0.80

Tested by

no test coverage detected