From da029fb293d7b389ad54bd843966a266fb4de615 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Mon, 7 May 2012 17:24:04 +0100 Subject: Issue #14741: Fix missing support for ellipsis in parser module. --- Lib/test/test_parser.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/test/test_parser.py') diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py index 50dc8d14fd..cae09dfd32 100644 --- a/Lib/test/test_parser.py +++ b/Lib/test/test_parser.py @@ -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 -- cgit v1.2.1