mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 22:57:50 -03:00
Imported test cases from pygments
This commit is contained in:
16
tests/python/test_fstring_06a.txt
Normal file
16
tests/python/test_fstring_06a.txt
Normal file
@ -0,0 +1,16 @@
|
||||
# SyntaxError: f-string expression part cannot include a backslash
|
||||
|
||||
---input---
|
||||
f'{\'quoted string\'}'
|
||||
|
||||
---tokens---
|
||||
'f' Literal.String.Affix
|
||||
"'" Literal.String.Single
|
||||
'{' Literal.String.Interpol
|
||||
'\\' Error
|
||||
"'" Literal.String.Single
|
||||
'quoted string' Literal.String.Single
|
||||
"\\'" Literal.String.Escape
|
||||
'}' Literal.String.Single
|
||||
"'" Literal.String.Single
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user