def METHOD_NAME(self):
    # Test `is_same_graph` with some trivial graphs (one Variable).
    x, y, z = vectors("x", "y", "z")
    self.check(
        [
            (x, x, (({}, True),)),
            (
                x,
                y,
                (
                    ({}, False),
                    ({y: x}, True),
                ),
            ),
            (x, neg(x), (({}, False),)),
            (x, neg(y), (({}, False),)),
        ]
    )