Commit ac0a7365 authored by Stefan Behnel's avatar Stefan Behnel

adjusted doctest output to PyPy

parent 414c3e81
...@@ -41,14 +41,14 @@ def assign3_typed(tuple t): ...@@ -41,14 +41,14 @@ def assign3_typed(tuple t):
ValueError: need more than 2 values to unpack ValueError: need more than 2 values to unpack
>>> a,b,c = (1,2,3,4) # doctest: +ELLIPSIS >>> a,b,c = (1,2,3,4) # doctest: +ELLIPSIS
Traceback (most recent call last): Traceback (most recent call last):
ValueError: too many values to unpack... ValueError: ...
>>> assign3_typed((1,2,3,4)) >>> assign3_typed((1,2,3,4))
Traceback (most recent call last): Traceback (most recent call last):
ValueError: too many values to unpack (expected 3) ValueError: too many values to unpack (expected 3)
>>> a,b = 99,98 >>> a,b = 99,98
>>> a,b = t # doctest: +ELLIPSIS >>> a,b = t # doctest: +ELLIPSIS
Traceback (most recent call last): Traceback (most recent call last):
ValueError: too many values to unpack... ValueError: ...
>>> a,b >>> a,b
(99, 98) (99, 98)
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment