(self)
| 108 | # See https://github.com/pytorch/pytorch/pull/65851#discussion_r810238456 |
| 109 | @unittest.expectedFailure |
| 110 | def test_scalaronly_shadowed(self) -> None: |
| 111 | yaml_str = f"""\ |
| 112 | - {self.ti_binop_out} |
| 113 | ufunc_inner_loop: |
| 114 | Generic: binop (Bool) |
| 115 | ScalarOnly: binop (Bool) |
| 116 | """ |
| 117 | self.assertParseErrorInline( |
| 118 | yaml_str, |
| 119 | """\ |
| 120 | """, |
| 121 | ) |
| 122 | |
| 123 | def test_conflicting_ufunc(self) -> None: |
| 124 | yaml_str = f"""\ |
nothing calls this directly
no test coverage detected