projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e607823
)
Forward-port new test from r64300.
author
Georg Brandl
<georg@python.org>
Sun, 15 Jun 2008 19:54:36 +0000
(19:54 +0000)
committer
Georg Brandl
<georg@python.org>
Sun, 15 Jun 2008 19:54:36 +0000
(19:54 +0000)
Lib/test/test_grammar.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_grammar.py
b/Lib/test/test_grammar.py
index 0e593677fd50d249452d9dfaa1509a8876807d5b..e749e440ca159df0bc7b963f9b64c3f878bea033 100644
(file)
--- a/
Lib/test/test_grammar.py
+++ b/
Lib/test/test_grammar.py
@@
-299,6
+299,7
@@
class GrammarTests(unittest.TestCase):
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