mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Forward-port new test from r64300.
This commit is contained in:
parent
e607823af5
commit
a161f6070b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue