summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unpack.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_unpack.py')
-rw-r--r--Lib/test/test_unpack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_unpack.py b/Lib/test/test_unpack.py
index 3fcb18f..1c0c523 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: 'int' object is not iterable
+ TypeError: cannot unpack non-iterable int object
Unpacking tuple of wrong size
@@ -129,7 +129,7 @@ Unpacking non-iterables should raise TypeError
>>> () = 42
Traceback (most recent call last):
...
- TypeError: 'int' object is not iterable
+ TypeError: cannot unpack non-iterable int object
Unpacking to an empty iterable should raise ValueError