void () { PsiElement targetElement = resolve(); assertInstanceOf(targetElement, PyTargetExpression.class); assertNotNull(PsiTreeUtil.getParentOfType(targetElement, PyAssignmentStatement.class)); // it's deep in a tuple }