summaryrefslogtreecommitdiff
path: root/Lib/test/test_parser.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-08-19 22:06:11 +0000
committerBenjamin Peterson <benjamin@python.org>2008-08-19 22:06:11 +0000
commitbd6a05fe81fe1573f0517ce8982d62341f3b0f85 (patch)
tree738d3c8d84b1aab21e3a8d90dec5f471abd964c2 /Lib/test/test_parser.py
parentbd7bda4345e50fb857270f9d2010f0407136630e (diff)
downloadcpython-git-bd6a05fe81fe1573f0517ce8982d62341f3b0f85.tar.gz
check that the parser module can handle the new keyword syntax
Diffstat (limited to 'Lib/test/test_parser.py')
-rw-r--r--Lib/test/test_parser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py
index 8cb68eee6f..ba77bb806f 100644
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -66,6 +66,7 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase):
self.check_expr("foo(a, b, c, *args)")
self.check_expr("foo(a, b, c, *args, **kw)")
self.check_expr("foo(a, b, c, **kw)")
+ self.check_expr("foo(a, *args, keyword=23)")
self.check_expr("foo + bar")
self.check_expr("foo - bar")
self.check_expr("foo * bar")