PyFile:FormatPartFStringFragmentRecoveryStoppedAtStatementOnlyKeyword.py
  PyAssignmentStatement
    PyTargetExpression: s
      PsiElement(Py:IDENTIFIER)('s')
    PsiWhiteSpace(' ')
    PsiElement(Py:EQ)('=')
    PsiWhiteSpace(' ')
    PyStringLiteralExpression: {foo:{bar'
print(42)

      PyFormattedStringElement
        PsiElement(Py:FSTRING_START)('f'')
        PyFStringFragment
          PsiElement(Py:FSTRING_FRAGMENT_START)('{')
          PyReferenceExpression: foo
            PsiElement(Py:IDENTIFIER)('foo')
          PyFStringFragmentFormatPart
            PsiElement(Py:FSTRING_FRAGMENT_FORMAT_START)(':')
            PyFStringFragment
              PsiElement(Py:FSTRING_FRAGMENT_START)('{')
              PyReferenceExpression: bar
                PsiElement(Py:IDENTIFIER)('bar')
              PsiErrorElement:Unexpected expression part
                PsiElement(Py:SINGLE_QUOTED_STRING)(''')
                PsiWhiteSpace('\n')
                PsiElement(Py:IDENTIFIER)('print')
                PsiElement(Py:LPAR)('(')
                PsiElement(Py:INTEGER_LITERAL)('42')
                PsiElement(Py:RPAR)(')')
                PsiWhiteSpace('\n')
              PsiErrorElement:Type conversion, ':' or '}' expected
                <empty list>
        PsiErrorElement:' expected
          <empty list>
  PyRaiseStatement
    PsiElement(Py:RAISE_KEYWORD)('raise')
    PsiWhiteSpace(' ')
    PyReferenceExpression: Exception
      PsiElement(Py:IDENTIFIER)('Exception')