[Python-checkins] cpython (3.4): Issue #24791: Add tests for things that regressed with PEP 448

zach.ware python-checkins at python.org
Wed Aug 5 05:53:24 CEST 2015


https://hg.python.org/cpython/rev/3c170f68407f
changeset: 97261:3c170f68407f
branch: 3.4
parent: 97258:9964edf2fd1e
user: Zachary Ware <zachary.ware at gmail.com>
date: Tue Aug 04 22:49:55 2015 -0500
summary:
 Issue #24791: Add tests for things that regressed with PEP 448
files:
 Lib/test/test_grammar.py | 2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py
--- a/Lib/test/test_grammar.py
+++ b/Lib/test/test_grammar.py
@@ -204,7 +204,9 @@
 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)
-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /