Fix the final issue with expr_list.

This commit is contained in:
Dave Halter
2017-07-26 23:56:30 +02:00
parent 7e8961969d
commit 0f73f1c9c4
2 changed files with 18 additions and 6 deletions

View File

@@ -129,6 +129,13 @@ def test_indentation_errors(code, positions):
'([False], a) = x',
'a, 1 = x',
'foo() = 1',
# Cases without the equals but other assignments.
'with x as foo(): pass',
'del None',
'del bar, 1',
'for x, 1 in []: pass',
'for (not 1) in []: pass',
'[x for 1 in y]',
# SyntaxErrors from Python/symtable.c
'def f(x, x): pass',