PyFile:FStringNotTerminatedByQuoteOfNestedStringLiteralInFormatPart.py
  PyAssignmentStatement
    PyTargetExpression: s
      PsiElement(Py:IDENTIFIER)('s')
    PsiWhiteSpace(' ')
    PsiElement(Py:EQ)('=')
    PsiWhiteSpace(' ')
    PyStringLiteralExpression: {f"{42:{'foo'}}"}
      PyFormattedStringElement
        PsiElement(Py:FSTRING_START)('f'')
        PyFStringFragment
          PsiElement(Py:FSTRING_FRAGMENT_START)('{')
          PyStringLiteralExpression: {42:{'foo'}}
            PyFormattedStringElement
              PsiElement(Py:FSTRING_START)('f"')
              PyFStringFragment
                PsiElement(Py:FSTRING_FRAGMENT_START)('{')
                PyNumericLiteralExpression
                  PsiElement(Py:INTEGER_LITERAL)('42')
                PyFStringFragmentFormatPart
                  PsiElement(Py:FSTRING_FRAGMENT_FORMAT_START)(':')
                  PyFStringFragment
                    PsiElement(Py:FSTRING_FRAGMENT_START)('{')
                    PyStringLiteralExpression: foo
                      PsiElement(Py:SINGLE_QUOTED_STRING)(''foo'')
                    PsiElement(Py:FSTRING_FRAGMENT_END)('}')
                PsiElement(Py:FSTRING_FRAGMENT_END)('}')
              PsiElement(Py:FSTRING_END)('"')
          PsiElement(Py:FSTRING_FRAGMENT_END)('}')
        PsiElement(Py:FSTRING_END)(''')