diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-19 22:06:11 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-19 22:06:11 +0000 |
commit | bd6a05fe81fe1573f0517ce8982d62341f3b0f85 (patch) | |
tree | 738d3c8d84b1aab21e3a8d90dec5f471abd964c2 /Lib/test/test_parser.py | |
parent | bd7bda4345e50fb857270f9d2010f0407136630e (diff) | |
download | cpython-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.py | 1 |
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") |