Add some first f-string issues.

This commit is contained in:
Dave Halter
2017-08-25 22:09:58 +02:00
parent 609ab1ffa9
commit ede8a2139f
6 changed files with 62 additions and 5 deletions

View File

@@ -138,6 +138,12 @@ FAILING_EXAMPLES = [
'def x():\n 1\n 2',
'if 1:\nfoo',
'if 1: blubb\nif 1:\npass\nTrue and False',
# f-strings
'f"{}"',
'f"{\\}"',
#'f"{\'\\\'}"',
'f"{#}"',
]
GLOBAL_NONLOCAL_ERROR = [