def METHOD_NAME(self):
    tree = Tree(
        "grandparent",
        [
            Tree(
                "parent",
                [
                    Tree("x", [Tree("kid-0"), Tree("kid-1")]),
                    Tree("sibling-0"),
                    Tree("sibling-1"),
                ],
            ),
            Tree("uncle", [Tree("cousin-0"), Tree("cousin-1")]),
        ],
    )
    expected = ["x", "parent", "grandparent", "uncle", "cousin-1"]
    self.assertEqual(tree.path_to("x", "cousin-1"), expected)