summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-21 09:00:55 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-21 09:00:55 (GMT)
commit8a10ea4613e0bbcd067609d8d205b6ca71420f08 (patch)
treece699f66f28ffb893f154c34d5908b1077e04990 /Lib
parentf94e89c57801ffdc17c7246704c7e1c41bbc4791 (diff)
downloadcpython-8a10ea4613e0bbcd067609d8d205b6ca71420f08.zip
cpython-8a10ea4613e0bbcd067609d8d205b6ca71420f08.tar.gz
cpython-8a10ea4613e0bbcd067609d8d205b6ca71420f08.tar.bz2
Patch #1682205: a TypeError while unpacking an iterable is no longer
masked by a generic one with the message "unpack non-sequence". (backport from rev. 54480)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_unpack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unpack.py b/Lib/test/test_unpack.py
index 3f72648..76a4822 100644
--- a/Lib/test/test_unpack.py
+++ b/Lib/test/test_unpack.py
@@ -55,7 +55,7 @@ Unpacking non-sequence
>>> a, b, c = 7
Traceback (most recent call last):
...
- TypeError: unpack non-sequence
+ TypeError: 'int' object is not iterable
Unpacking tuple of wrong size