MCPcopy Create free account
hub / github.com/pytorch/pytorch / test_scalaronly_shadowed

Method test_scalaronly_shadowed

tools/test/test_codegen_model.py:110–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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"""\

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected