(self, input_dtype, output_dtype, f=f2, x=0, y=1)
| 125 | |
| 126 | @pytest.mark.parametrize('input_dtype,output_dtype', np_dtypes) |
| 127 | def test_binary_PyUFunc(self, input_dtype, output_dtype, f=f2, x=0, y=1): |
| 128 | xs = np.full(10, input_dtype(x), dtype=output_dtype) |
| 129 | ys = f(xs, xs)[::2] |
| 130 | assert_allclose(ys, y) |
| 131 | assert_equal(ys.dtype, output_dtype) |
| 132 | |
| 133 | # class to use in testing object method loops |
| 134 | class foo: |
nothing calls this directly
no test coverage detected