[pypy-commit] pypy py3.5: fix doctests
cfbolz
pypy.commits at gmail.com
Tue Apr 10 04:44:24 EDT 2018
Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: py3.5
Changeset: r94296:d9e2802b64a3
Date: 2018-04-10 10:39 +0200
http://bitbucket.org/pypy/pypy/changeset/d9e2802b64a3/
Log: fix doctests
diff --git a/lib-python/3/test/test_syntax.py b/lib-python/3/test/test_syntax.py
--- a/lib-python/3/test/test_syntax.py
+++ b/lib-python/3/test/test_syntax.py
@@ -110,12 +110,12 @@
>>> def f(x, None):
... pass
Traceback (most recent call last):
-SyntaxError: invalid syntax
+SyntaxError: invalid syntax (expected ')')
>>> def f(*None):
... pass
Traceback (most recent call last):
-SyntaxError: invalid syntax
+SyntaxError: invalid syntax (expected ')')
>>> def f(**None):
... pass
More information about the pypy-commit
mailing list