summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-05-16 13:44:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-05-16 13:44:45 (GMT)
commitde12b79cd65ddde79fdaf794b58cd184f345a884 (patch)
tree02b0890752f2a2ec66ce8d6049ad0c4eaba1d8df /Lib/test
parent8de32d906f3cdcffa088fc786eefa8f4e7bce785 (diff)
downloadcpython-de12b79cd65ddde79fdaf794b58cd184f345a884.zip
cpython-de12b79cd65ddde79fdaf794b58cd184f345a884.tar.gz
cpython-de12b79cd65ddde79fdaf794b58cd184f345a884.tar.bz2
allow test node after ** in calls (closes #24176)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_grammar.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py
index e46a232..2af7390 100644
--- a/Lib/test/test_grammar.py
+++ b/Lib/test/test_grammar.py
@@ -206,6 +206,7 @@ class GrammarTests(unittest.TestCase):
d01(1)
d01(*(1,))
d01(**{'a':2})
+ d01(**{'a':2} or {})
def d11(a, b=1): pass
d11(1)
d11(1, 2)