From bd6a05fe81fe1573f0517ce8982d62341f3b0f85 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 19 Aug 2008 22:06:11 +0000 Subject: check that the parser module can handle the new keyword syntax --- Lib/test/test_parser.py | 1 + 1 file changed, 1 insertion(+) 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") -- cgit v0.12