[Python-checkins] r65885 - python/trunk/Lib/test/test_parser.py

benjamin.peterson python-checkins at python.org
Wed Aug 20 00:06:11 CEST 2008


Author: benjamin.peterson
Date: Wed Aug 20 00:06:11 2008
New Revision: 65885

Log:
check that the parser module can handle the new keyword syntax

Modified:
   python/trunk/Lib/test/test_parser.py

Modified: python/trunk/Lib/test/test_parser.py
==============================================================================
--- python/trunk/Lib/test/test_parser.py	(original)
+++ python/trunk/Lib/test/test_parser.py	Wed Aug 20 00:06:11 2008
@@ -66,6 +66,7 @@
         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")


More information about the Python-checkins mailing list