summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2012-05-07 16:25:14 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2012-05-07 16:25:14 (GMT)
commit943cab2fec8e7fb3232e72d9f1ca6535674e746a (patch)
tree94dc564794188e6c61b0bc9bf23c9dd322a14be3 /Lib
parent72f6095d4fc50c0e92ea0f88df898ffe67cdb67c (diff)
parentda029fb293d7b389ad54bd843966a266fb4de615 (diff)
downloadcpython-943cab2fec8e7fb3232e72d9f1ca6535674e746a.zip
cpython-943cab2fec8e7fb3232e72d9f1ca6535674e746a.tar.gz
cpython-943cab2fec8e7fb3232e72d9f1ca6535674e746a.tar.bz2
Issue #14741: Merge fix from 3.2.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_parser.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py
index f911319..e199728 100644
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -110,6 +110,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