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

Method fail

numpy/_core/tests/test_defchararray.py:265–266  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

263 assert_array_equal(A.endswith('3', 0, 3), [[0, 0], [1, 0], [1, 0]])
264
265 def fail():
266 A.endswith('3', 'fdjk')
267
268 assert_raises(TypeError, fail)
269

Callers

nothing calls this directly

Calls 4

endswithMethod · 0.80
rindexMethod · 0.80
startswithMethod · 0.80
indexMethod · 0.45

Tested by

no test coverage detected