summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unpack_ex.py
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2016-06-13 03:26:28 (GMT)
committerLarry Hastings <larry@hastings.org>2016-06-13 03:26:28 (GMT)
commit29f963732166260420ffbdebe9eb8b98a009dc8c (patch)
tree17ad6530ee3b66b53647ab70bac08145dcd69783 /Lib/test/test_unpack_ex.py
parent6e9a96be9e24265638df8aa600e566b306a23a2b (diff)
parent1003b34c71d53ccb88ae2768aaba503ae6b5bc16 (diff)
downloadcpython-29f963732166260420ffbdebe9eb8b98a009dc8c.zip
cpython-29f963732166260420ffbdebe9eb8b98a009dc8c.tar.gz
cpython-29f963732166260420ffbdebe9eb8b98a009dc8c.tar.bz2
Merge 3.5.2rc1 with current 3.5 branch.
Diffstat (limited to 'Lib/test/test_unpack_ex.py')
-rw-r--r--Lib/test/test_unpack_ex.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_unpack_ex.py b/Lib/test/test_unpack_ex.py
index d27eef0..74346b4 100644
--- a/Lib/test/test_unpack_ex.py
+++ b/Lib/test/test_unpack_ex.py
@@ -248,6 +248,11 @@ Overridden parameters
...
TypeError: f() got multiple values for keyword argument 'x'
+ >>> f(x=5, **{'x': 3}, **{'x': 2})
+ Traceback (most recent call last):
+ ...
+ TypeError: f() got multiple values for keyword argument 'x'
+
>>> f(**{1: 3}, **{1: 5})
Traceback (most recent call last):
...