Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ fail
Method
fail
numpy/core/tests/test_defchararray.py:235–236 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
233
assert_array_equal(self.A.endswith(
'3'
, 0, 3), [[0, 0], [1, 0], [1, 0]])
234
235
def
fail():
236
self.A.endswith(
'3'
,
'fdjk'
)
237
238
assert_raises(TypeError, fail)
239
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