void () { runWithLanguageLevel( LanguageLevel.PYTHON38, () -> { final ResolveResult[] results = multiResolve(); final PsiElement first = results[0].getElement(); assertResolveResult(first, PyTargetExpression.class, "total"); assertInstanceOf(first.getParent(), PyAssignmentStatement.class); final PsiElement second = results[1].getElement(); assertResolveResult(second, PyTargetExpression.class, "total"); assertInstanceOf(second.getParent(), PyAssignmentExpression.class); } ); }