From: Benjamin Peterson Date: Tue, 19 Aug 2008 22:06:11 +0000 (+0000) Subject: check that the parser module can handle the new keyword syntax X-Git-Tag: v2.6b3~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd6a05fe81fe1573f0517ce8982d62341f3b0f85;p=thirdparty%2FPython%2Fcpython.git check that the parser module can handle the new keyword syntax --- diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py index 8cb68eee6fc6..ba77bb806f38 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")