Some better message for tokenizing fails.

This commit is contained in:
Dave Halter
2017-08-05 14:14:47 +02:00
parent 5fd6469b6f
commit 44edbd56e7
2 changed files with 11 additions and 7 deletions

View File

@@ -111,6 +111,7 @@ FAILING_EXAMPLES = [
r'"',
r"'''",
r"'",
r"\blub",
# SyntaxErrors from Python/symtable.c
'def f(x, x): pass',