summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unpack.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2015-04-15 21:08:45 (GMT)
committerR David Murray <rdmurray@bitdance.com>2015-04-15 21:08:45 (GMT)
commit4171bbe687904582329c7977d571686953275b45 (patch)
tree35b0ca3d4c7dc8acd81aba0e9a2ee0b4dc51e07b /Lib/test/test_unpack.py
parent13a6ee0af45e2adc508489fb60a29069905331a7 (diff)
downloadcpython-4171bbe687904582329c7977d571686953275b45.zip
cpython-4171bbe687904582329c7977d571686953275b45.tar.gz
cpython-4171bbe687904582329c7977d571686953275b45.tar.bz2
#23949: Improve tuple unpacking error messages.
Patch by Arnon Yaari.
Diffstat (limited to 'Lib/test/test_unpack.py')
-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 b1c483d..d1ccb38 100644
--- a/Lib/test/test_unpack.py
+++ b/Lib/test/test_unpack.py
@@ -76,7 +76,7 @@ Unpacking sequence too short
>>> a, b, c, d = Seq()
Traceback (most recent call last):
...
- ValueError: need more than 3 values to unpack
+ ValueError: not enough values to unpack (expected 4, got 3)
Unpacking sequence too long