[pypy-commit] pypy py3.5: fix test

arigo pypy.commits at gmail.com
Thu Dec 15 08:57:17 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89068:3c82fb676089
Date: 2016-12-15 14:33 +0100
http://bitbucket.org/pypy/pypy/changeset/3c82fb676089/

Log:	fix test

diff --git a/lib-python/3/test/test_extcall.py b/lib-python/3/test/test_extcall.py
--- a/lib-python/3/test/test_extcall.py
+++ b/lib-python/3/test/test_extcall.py
@@ -49,14 +49,14 @@
 
     >>> f(1, 2, 3, **{'a':4, 'b':5})
     (1, 2, 3) {'a': 4, 'b': 5}
-    >>> f(1, 2, **{'a': -1, 'b': 5}, **{'a': 4, 'c': 6})
+    >>> f(1, 2, **{'a': -1, 'b': 5}, **{'a': 4, 'c': 6})   #doctest: +ELLIPSIS
     Traceback (most recent call last):
         ...
-    TypeError: f() got multiple values for keyword argument 'a'
-    >>> f(1, 2, **{'a': -1, 'b': 5}, a=4, c=6)
+    TypeError: ...got multiple values for keyword argument 'a'
+    >>> f(1, 2, **{'a': -1, 'b': 5}, a=4, c=6)             #doctest: +ELLIPSIS
     Traceback (most recent call last):
         ...
-    TypeError: f() got multiple values for keyword argument 'a'
+    TypeError: ...got multiple values for keyword argument 'a'
     >>> f(1, 2, 3, *[4, 5], **{'a':6, 'b':7})
     (1, 2, 3, 4, 5) {'a': 6, 'b': 7}
     >>> f(1, 2, 3, x=4, y=5, *(6, 7), **{'a':8, 'b': 9})
@@ -217,7 +217,7 @@
     >>> f(**{1:2})                             #doctest: +ELLIPSIS
     Traceback (most recent call last):
       ...
-    TypeError: ...keywords must be strings
+    TypeError: ...keywords must be strings...
 
     >>> h(**{'e': 2})
     Traceback (most recent call last):


More information about the pypy-commit mailing list