(methodname: str)
| 3019 | ["__call__", "accumulate", "at", "outer", "reduce", "reduceat", "resolve_dtypes"], |
| 3020 | ) |
| 3021 | def 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 | |
| 3030 | def test_trivial_loop_invalid_cast(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…