summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_grammar.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-08-05 03:49:55 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-08-05 03:49:55 (GMT)
commit36948d7875da0be3b1f98bbd70775d954e8bf862 (patch)
tree6aec072b630d7c3dc603b366e3fe3c7dde88cbe8 /Lib/test/test_grammar.py
parent920a335e97977114f870050cddf5647d24612852 (diff)
downloadcpython-36948d7875da0be3b1f98bbd70775d954e8bf862.zip
cpython-36948d7875da0be3b1f98bbd70775d954e8bf862.tar.gz
cpython-36948d7875da0be3b1f98bbd70775d954e8bf862.tar.bz2
Issue #24791: Add tests for things that regressed with PEP 448
Diffstat (limited to 'Lib/test/test_grammar.py')
-rw-r--r--Lib/test/test_grammar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py
index fb5ffc0..2504523 100644
--- a/Lib/test/test_grammar.py
+++ b/Lib/test/test_grammar.py
@@ -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)