MCPcopy 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

4667def 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_generic_rank1Method · 0.50
test_generic_rank3Method · 0.50
test_asterisk1Method · 0.50
test_asterisk2Method · 0.50

Calls

no outgoing calls

Tested by 5

test_generic_rank1Method · 0.40
test_generic_rank3Method · 0.40
test_asterisk1Method · 0.40
test_asterisk2Method · 0.40