diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-08-19 22:06:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-08-19 22:06:11 (GMT) |
commit | bd6a05fe81fe1573f0517ce8982d62341f3b0f85 (patch) | |
tree | 738d3c8d84b1aab21e3a8d90dec5f471abd964c2 /Lib | |
parent | bd7bda4345e50fb857270f9d2010f0407136630e (diff) | |
download | cpython-bd6a05fe81fe1573f0517ce8982d62341f3b0f85.zip cpython-bd6a05fe81fe1573f0517ce8982d62341f3b0f85.tar.gz cpython-bd6a05fe81fe1573f0517ce8982d62341f3b0f85.tar.bz2 |
check that the parser module can handle the new keyword syntax
Diffstat (limited to 'Lib')
-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 8cb68ee..ba77bb8 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") |