Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/numpy/numpy
/ Test
Class
Test
numpy/lib/tests/test_arraysetops.py:40–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
def
test_intersect1d_array_like(self):
39
# See gh-11772
40
class
Test:
41
def
__array__(self, dtype=None, copy=None):
42
return
np.arange(3)
43
44
a = Test()
45
res = intersect1d(a, a)
Callers
1
test_intersect1d_array_like
Method · 0.70
Calls
no outgoing calls
Tested by
1
test_intersect1d_array_like
Method · 0.56
Used in the wild
real call sites across dependent graphs
searching dependent graphs…