Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ foo
Class
foo
numpy/core/tests/test_umath.py:4669–4669 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4667
def
test_outer_subclass_preserve(arr):
4668
# for gh-8661
4669
class
foo(np.ndarray):
pass
4670
actual = np.multiply.outer(arr.view(foo), arr.view(foo))
4671
assert actual.__class__.__name__ ==
'foo'
4672
Callers
5
test_errstate_decorator
Method · 0.70
test_generic_rank1
Method · 0.50
test_generic_rank3
Method · 0.50
test_asterisk1
Method · 0.50
test_asterisk2
Method · 0.50
Calls
no outgoing calls
Tested by
5
test_errstate_decorator
Method · 0.56
test_generic_rank1
Method · 0.40
test_generic_rank3
Method · 0.40
test_asterisk1
Method · 0.40
test_asterisk2
Method · 0.40