Commits

Georg Brandl  committed a6d7bfc

Forward-port new test from r64300.

  • Participants
  • Parent commits 991caad
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/test/test_grammar.py

         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