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