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

Method test_startswith

numpy/core/tests/test_regression.py:695–697  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

693 _assert_valid_refcount(np.vdot)
694
695 def test_startswith(self):
696 ca = np.char.array(['Hi', 'There'])
697 assert_equal(ca.startswith('H'), [True, False])
698
699 def test_noncommutative_reduce_accumulate(self):
700 # Ticket #413

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
startswithMethod · 0.80

Tested by

no test coverage detected