mirror of
https://github.com/davidhalter/parso.git
synced 2026-01-31 15:15:44 +08:00
Properly check for invalid conversion character with f-string debugging syntax (#156)
This commit is contained in:
@@ -79,6 +79,7 @@ def test_valid(code, grammar):
|
||||
|
||||
# invalid conversion characters
|
||||
'f"{1!{a}}"',
|
||||
'f"{1=!{a}}"',
|
||||
'f"{!{a}}"',
|
||||
|
||||
# The curly braces must contain an expression
|
||||
|
||||
Reference in New Issue
Block a user