PyFile:SingleLineFStringContainsCommentInsteadOfExpression.py PyAssignmentStatement PyTargetExpression: s PsiElement(Py:IDENTIFIER)('s') PsiWhiteSpace(' ') PsiElement(Py:EQ)('=') PsiWhiteSpace(' ') PyStringLiteralExpression: {# comment}' PyFormattedStringElement PsiElement(Py:FSTRING_START)('f'') PyFStringFragment PsiElement(Py:FSTRING_FRAGMENT_START)('{') PsiErrorElement:Expression expected PsiComment(Py:END_OF_LINE_COMMENT)('# comment}'') PsiErrorElement:Type conversion, ':' or '}' expected PsiErrorElement:' expected