def METHOD_NAME(self):
    def fn001(x):
        # NB: avoid decorator, as 3.11 changed the line number attributed
        # in this situation
        def f(ctx):
            raise AssertionError()
        comptime(f)
    # NB: OK for user code to be truncated here, because the regular
    # exception backtrace has the rest of the crumbs
    self.assertExpectedInlineMunged(
        AssertionError,
        lambda: torch.compile(fn001, backend="eager")(torch.randn(1)),
        """\