(self, input_dtype, output_dtype, f=f2, x=0, y=1)
| 114 | |
| 115 | @pytest.mark.parametrize('input_dtype,output_dtype', np_dtypes) |
| 116 | def test_binary_PyUFunc(self, input_dtype, output_dtype, f=f2, x=0, y=1): |
| 117 | xs = np.full(10, input_dtype(x), dtype=output_dtype) |
| 118 | ys = f(xs, xs)[::2] |
| 119 | assert_allclose(ys, y) |
| 120 | assert_equal(ys.dtype, output_dtype) |
| 121 | |
| 122 | # class to use in testing object method loops |
| 123 | class foo: |
nothing calls this directly
no test coverage detected