def METHOD_NAME(self) -> None:
    """Make sure variables from parent lambdas
    aren't noted as undefined
    https://github.com/pylint-dev/pylint/issues/760
    """
    node = astroid.parse(
        """
    lambda x: lambda: x + 1
    """
    )
    with self.assertNoMessages():
        self.walk(node)