[pypy-svn] r58760 - pypy/branch/2.5-merge/lib-python/modified-2.5.2/test
fijal at codespeak.net
fijal at codespeak.net
Tue Oct 7 16:18:28 CEST 2008
Author: fijal
Date: Tue Oct 7 16:18:27 2008
New Revision: 58760
Modified:
pypy/branch/2.5-merge/lib-python/modified-2.5.2/test/test_unpack.py
Log:
Fix doctests (well, I don't know what to put there)
Modified: pypy/branch/2.5-merge/lib-python/modified-2.5.2/test/test_unpack.py
==============================================================================
--- pypy/branch/2.5-merge/lib-python/modified-2.5.2/test/test_unpack.py (original)
+++ pypy/branch/2.5-merge/lib-python/modified-2.5.2/test/test_unpack.py Tue Oct 7 16:18:27 2008
@@ -62,14 +62,14 @@
>>> a, b = t
Traceback (most recent call last):
...
- ValueError: too many values to unpack
-
+ ValueError: Expected length 2, got 3
+
Unpacking tuple of wrong size
>>> a, b = l
Traceback (most recent call last):
...
- ValueError: too many values to unpack
+ ValueError: Expected length 2, got 3
Unpacking sequence too short
More information about the Pypy-commit
mailing list