Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ SubArrayLike
Class
SubArrayLike
numpy/lib/tests/test_mixins.py:152–153 ·
view source on GitHub ↗
Should take precedence over ArrayLike.
Source
from the content-addressed store, hash-verified
150
def
test_subclass(self):
151
152
class
SubArrayLike(ArrayLike):
153
""
"Should take precedence over ArrayLike."
""
154
155
x = ArrayLike(0)
156
y = SubArrayLike(1)
Callers
1
test_subclass
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_subclass
Method · 0.68