]> granicus.if.org Git - python/commitdiff
Issue #24791: Add tests for things that regressed with PEP 448
authorZachary Ware <zachary.ware@gmail.com>
Wed, 5 Aug 2015 03:49:55 +0000 (22:49 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Wed, 5 Aug 2015 03:49:55 +0000 (22:49 -0500)
Lib/test/test_grammar.py

index fb5ffc06b18b5766398f1577d5cdf6a5d2efe606..250452322ccc08617c89baf43964ba765e06c0b6 100644 (file)
@@ -204,7 +204,9 @@ class GrammarTests(unittest.TestCase):
         d01()
         d01(1)
         d01(*(1,))
+        d01(*[] or [2])
         d01(**{'a':2})
+        d01(**{'a':2} or {})
         def d11(a, b=1): pass
         d11(1)
         d11(1, 2)