[pypy-commit] pypy pyparser-improvements: adapt to new error message

cfbolz pypy.commits at gmail.com
Fri Mar 30 04:48:39 EDT 2018


Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: pyparser-improvements
Changeset: r94180:dd9a56219993
Date: 2018-03-30 10:29 +0200
http://bitbucket.org/pypy/pypy/changeset/dd9a56219993/

Log:	adapt to new error message

diff --git a/lib-python/2.7/test/test_genexps.py b/lib-python/2.7/test/test_genexps.py
--- a/lib-python/2.7/test/test_genexps.py
+++ b/lib-python/2.7/test/test_genexps.py
@@ -87,7 +87,7 @@
     >>> dict(a = i for i in xrange(10))
     Traceback (most recent call last):
        ...
-    SyntaxError: invalid syntax
+    SyntaxError: invalid syntax (expected ')')
 
 Verify that parenthesis are required when used as a keyword argument value
 


More information about the pypy-commit mailing list