def METHOD_NAME(self):
    r = self.get_repo_with_grafts({self._repo.head(): []})
    r._remove_graftpoints([self._repo.head()])
    self.assertEqual([e.commit.id for e in r.get_walker()], self._shas[::-1])