Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r88823:c4e8d087daf0
Date: 2016-12-02 16:29 +0100
http://bitbucket.org/pypy/pypy/changeset/c4e8d087daf0/

Log:    fix doctest

diff --git a/lib-python/3/test/test_unpack_ex.py 
b/lib-python/3/test/test_unpack_ex.py
--- a/lib-python/3/test/test_unpack_ex.py
+++ b/lib-python/3/test/test_unpack_ex.py
@@ -233,25 +233,25 @@
 
 Overridden parameters
 
-    >>> f(x=5, **{'x': 3}, y=2)
+    >>> f(x=5, **{'x': 3}, y=2)     # doctest:+ELLIPSIS
     Traceback (most recent call last):
       ...
-    TypeError: f() got multiple values for keyword argument 'x'
+    TypeError: ...got multiple values for keyword argument 'x'
 
-    >>> f(**{'x': 3}, x=5, y=2)
+    >>> f(**{'x': 3}, x=5, y=2)     # doctest:+ELLIPSIS
     Traceback (most recent call last):
       ...
-    TypeError: f() got multiple values for keyword argument 'x'
+    TypeError: ...got multiple values for keyword argument 'x'
 
-    >>> f(**{'x': 3}, **{'x': 5}, y=2)
+    >>> f(**{'x': 3}, **{'x': 5}, y=2)     # doctest:+ELLIPSIS
     Traceback (most recent call last):
       ...
-    TypeError: f() got multiple values for keyword argument 'x'
+    TypeError: ...got multiple values for keyword argument 'x'
 
-    >>> f(**{1: 3}, **{1: 5})
+    >>> f(**{1: 3}, **{1: 5})     # doctest:+ELLIPSIS
     Traceback (most recent call last):
       ...
-    TypeError: f() keywords must be strings
+    TypeError: ...keywords must be strings...
 
 Unpacking non-sequence
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to