commit | a161f6070b455ac43aa4e414d7b64e6a80a37978 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Jun 15 19:54:36 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Jun 15 19:54:36 2008 +0000 |
tree | f30ad66dac5cbb2e71afe16f19e5e01113200fdc | |
parent | e607823af57c176c3be23985f5bbf9260f6bd836 [diff] [blame] |
Forward-port new test from r64300.
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 0e59367..e749e44 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py
@@ -299,6 +299,7 @@ self.assertEquals(l5(1, 2), 5) self.assertEquals(l5(1, 2, 3), 6) check_syntax_error(self, "lambda x: x = 2") + check_syntax_error(self, "lambda (None,): None") ### stmt: simple_stmt | compound_stmt # Tested below