summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-21 09:00:39 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-21 09:00:39 (GMT)
commit5cb76c19ba5b22b926f69d017a79eb2de296785a (patch)
tree9639fde5cf123ca2c93ff4fafe74d5a6d3535573 /Lib/test
parentaa754b70b051ed683c6e548e2f376b55a75af9b9 (diff)
downloadcpython-5cb76c19ba5b22b926f69d017a79eb2de296785a.zip
cpython-5cb76c19ba5b22b926f69d017a79eb2de296785a.tar.gz
cpython-5cb76c19ba5b22b926f69d017a79eb2de296785a.tar.bz2
Patch #1682205: a TypeError while unpacking an iterable is no longer
masked by a generic one with the message "unpack non-sequence".
Diffstat (limited to 'Lib/test')
-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