mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #14741: Fix missing support for ellipsis in parser module.
This commit is contained in:
parent
11c1dee183
commit
da029fb293
3 changed files with 5 additions and 5 deletions
|
@ -106,6 +106,8 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase):
|
|||
self.check_expr("lambda x, *y, **z: 0")
|
||||
self.check_expr("(x for x in range(10))")
|
||||
self.check_expr("foo(x for x in range(10))")
|
||||
self.check_expr("...")
|
||||
self.check_expr("a[...]")
|
||||
|
||||
def test_simple_expression(self):
|
||||
# expr_stmt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue