MCPcopy Index your code
hub / github.com/numpy/numpy / test_ufunc_method_signatures

Function test_ufunc_method_signatures

numpy/_core/tests/test_ufunc.py:3021–3027  ·  view source on GitHub ↗
(methodname: str)

Source from the content-addressed store, hash-verified

3019 ["__call__", "accumulate", "at", "outer", "reduce", "reduceat", "resolve_dtypes"],
3020)
3021def test_ufunc_method_signatures(methodname: str):
3022 method = getattr(np.ufunc, methodname)
3023
3024 try:
3025 _ = inspect.signature(method)
3026 except ValueError as e:
3027 pytest.fail(e.args[0])
3028
3029
3030def test_trivial_loop_invalid_cast():

Callers

nothing calls this directly

Calls 1

failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…