def METHOD_NAME(self, records):
    def fn002(x):
        x = x + 1
        torch._dynamo.graph_break()
        x = x + 1
        return x
    def fn001(x):
        return fn002(x)
    torch.compile(fn001, backend="eager")(torch.randn(1))
    record = self.getRecord(records, "Graph break:")
    # TODO: This should also report the enclosing frames; need to plumb
    # frame object to it
    self.assertExpectedInline(
        munge_exc(record.getMessage()),
        """\