From 8071580a4ceed4974f1825b3764e90cec3751309 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Wed, 26 Jul 2017 23:57:38 +0200 Subject: [PATCH] Some more tests. --- test/test_python_errors.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_python_errors.py b/test/test_python_errors.py index 0a00cc3..7b20d53 100644 --- a/test/test_python_errors.py +++ b/test/test_python_errors.py @@ -136,6 +136,10 @@ def test_indentation_errors(code, positions): 'for x, 1 in []: pass', 'for (not 1) in []: pass', '[x for 1 in y]', + '[x for a, 3 in y]', + '(x for 1 in y)', + '{x for 1 in y}', + '{x:x for 1 in y}', # SyntaxErrors from Python/symtable.c 'def f(x, x): pass',