[Python-checkins] r64301 - python/trunk/Lib/test/test_grammar.py
georg.brandl
python-checkins at python.org
Sun Jun 15 21:54:36 CEST 2008
Author: georg.brandl
Date: Sun Jun 15 21:54:36 2008
New Revision: 64301
Log:
Forward-port new test from r64300.
Modified:
python/trunk/Lib/test/test_grammar.py
Modified: python/trunk/Lib/test/test_grammar.py
==============================================================================
--- python/trunk/Lib/test/test_grammar.py (original)
+++ python/trunk/Lib/test/test_grammar.py Sun Jun 15 21:54:36 2008
@@ -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
More information about the Python-checkins
mailing list