summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unpack_ex.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-12-26 10:30:41 (GMT)
committerGitHub <noreply@github.com>2017-12-26 10:30:41 (GMT)
commit13a6c098c215921e35004f9d3a9b70f601e56500 (patch)
treecda014f1d730c1b10abc45484b9e2cf7ea04aa33 /Lib/test/test_unpack_ex.py
parenta8f4e15f3d33084862ddd3a7d58cd00034e94f16 (diff)
downloadcpython-13a6c098c215921e35004f9d3a9b70f601e56500.zip
cpython-13a6c098c215921e35004f9d3a9b70f601e56500.tar.gz
cpython-13a6c098c215921e35004f9d3a9b70f601e56500.tar.bz2
bpo-32259: Make a TypeError message when unpack non-iterable more specific. (#4903)
Diffstat (limited to 'Lib/test/test_unpack_ex.py')
-rw-r--r--Lib/test/test_unpack_ex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unpack_ex.py b/Lib/test/test_unpack_ex.py
index 6be8f55..45cf051 100644
--- a/Lib/test/test_unpack_ex.py
+++ b/Lib/test/test_unpack_ex.py
@@ -263,7 +263,7 @@ Unpacking non-sequence
>>> a, *b = 7
Traceback (most recent call last):
...
- TypeError: 'int' object is not iterable
+ TypeError: cannot unpack non-iterable int object
Unpacking sequence too short