PyFile:CompleteFStringFragmentTerminatedAtStatementOnlyKeyword.py
  PyAssignmentStatement
    PyTargetExpression: s
      PsiElement(Py:IDENTIFIER)('s')
    PsiWhiteSpace(' ')
    PsiElement(Py:EQ)('=')
    PsiWhiteSpace(' ')
    PyStringLiteralExpression: {

      PyFormattedStringElement
        PsiElement(Py:FSTRING_START)('f'')
        PyFStringFragment
          PsiElement(Py:FSTRING_FRAGMENT_START)('{')
          PsiErrorElement:Expression expected
            PsiWhiteSpace('\n')
          PsiErrorElement:Type conversion, ':' or '}' expected
            <empty list>
        PsiErrorElement:' expected
          <empty list>
  PyRaiseStatement
    PsiElement(Py:RAISE_KEYWORD)('raise')
    PsiErrorElement:End of statement expected
      <empty list>
  PsiElement(Py:COLON)(':')
  PsiErrorElement:Statement expected, found Py:COLON
    <empty list>
  PyExpressionStatement
    PyReferenceExpression: foo
      PsiElement(Py:IDENTIFIER)('foo')
    PsiErrorElement:End of statement expected
      <empty list>
  PsiElement(Py:RBRACE)('}')
  PsiErrorElement:Statement expected, found Py:RBRACE
    <empty list>
  PyExpressionStatement
    PyStringLiteralExpression: 
      PsiElement(Py:SINGLE_QUOTED_STRING)(''')