Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
endswith
Method · 0.80
rindex
Method · 0.80
startswith
Method · 0.80
index
Method · 0.45
Tested by
no test coverage detected