PY-79967 Fix a test broken due to the new t-string prefix

\t' at the end of an invalid f-string started being recognized as a new t-string start.
I've replaced it with another escape sequence, not losing the test's idea.

GitOrigin-RevId: 6f14435b62eda673165d89f005fbcc4ceb810dc7
This commit is contained in:
Mikhail Golubev
2025-04-28 19:14:39 +00:00
committed by intellij-monorepo-bot
parent 56ba10d20f
commit 414a30ea9a
@@ -3,5 +3,5 @@ f'{<error descr="Expression expected"><error descr="Python version 3.6 does not
f'{Formatable():\n\t}'
f'{42:{<error descr="Expression expected"><error descr="Python version 3.6 does not allow backslashes inside expression parts of f-strings">\</error>t</error>}}'
f'{f"""{"<error descr="Python version 3.6 does not allow backslashes inside expression parts of f-strings">\</error>n"}"""}'
f'{<error descr="Expression expected"><error descr="Python version 3.6 does not allow backslashes inside expression parts of f-strings">\</error>t<error descr="Python version 3.6 does not allow nesting of string literals with the same quote type inside f-strings">'</error><error descr="Python version 3.6 does not allow new lines in expression parts of non-triple-quoted f-strings">
f'{<error descr="Expression expected"><error descr="Python version 3.6 does not allow backslashes inside expression parts of f-strings">\</error>n<error descr="Python version 3.6 does not allow nesting of string literals with the same quote type inside f-strings">'</error><error descr="Python version 3.6 does not allow new lines in expression parts of non-triple-quoted f-strings">
</error></error><EOLError descr="Type conversion, ':' or '}' expected"></EOLError><EOLError descr="' expected"></EOLError>