Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_parser.py @ 76824:2b1cc84bf1d9 3.2
Issue #14741: Fix missing support for ellipsis in parser module.
| author | Mark Dickinson <mdickinson@enthought.com> |
|---|---|
| date | Mon, 07 May 2012 17:24:04 +0100 |
| parents | 129289144dfb |
| children | 91884d04de06 d50577c5711b |
line wrap: on
line diff
--- a/Lib/test/test_parser.py Mon May 07 16:34:34 2012 +0100 +++ b/Lib/test/test_parser.py Mon May 07 17:24:04 2012 +0100 @@ -106,6 +106,8 @@ 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
