Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ SomeClass
Class
SomeClass
numpy/core/tests/test_multiarray.py:3942–3944 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
3940
def
test_ufunc_override_normalize_signature(self):
3941
# gh-5674
3942
class
SomeClass:
3943
def
__array_ufunc__(self, ufunc, method, *inputs, **kw):
3944
return
kw
3945
3946
a = SomeClass()
3947
kw = np.add(a, [1])
Callers
3
test_ufunc_override_normalize_signature
Method · 0.85
__pow__
Method · 0.85
test_pow_array_object_dtype
Method · 0.85
Calls
no outgoing calls
Tested by
3
test_ufunc_override_normalize_signature
Method · 0.68
__pow__
Method · 0.68
test_pow_array_object_dtype
Method · 0.68