MCPcopy Create free account
hub / github.com/numpy/numpy / ShouldDispatch

Class ShouldDispatch

numpy/lib/tests/test_twodim_base.py:281–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279
280 def test_dispatch(self):
281 class ShouldDispatch:
282 def __array_function__(self, function, types, args, kwargs):
283 return types, args, kwargs
284
285 xy = [1, 2]
286 s_d = ShouldDispatch()

Callers 1

test_dispatchMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_dispatchMethod · 0.68