Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ Test
Class
Test
numpy/lib/tests/test_arraysetops.py:36–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
def
test_intersect1d_array_like(self):
35
# See gh-11772
36
class
Test:
37
def
__array__(self):
38
return
np.arange(3)
39
40
a = Test()
41
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