Author: Matti Picus <[email protected]>
Branch: py3.5
Changeset: r94305:695dfb0f493b
Date: 2018-04-11 05:55 +0300
http://bitbucket.org/pypy/pypy/changeset/695dfb0f493b/
Log: typo
diff --git a/lib-python/3/test/test_genexps.py
b/lib-python/3/test/test_genexps.py
--- a/lib-python/3/test/test_genexps.py
+++ b/lib-python/3/test/test_genexps.py
@@ -85,7 +85,7 @@
Verify that parenthesis are required when used as a keyword argument value
PyPy has extended sytax error messages, ignore the detail for compatibility
- >>> dict(a = i for i in range(10)) # doctest: +IGNORE_EXCPTION_DETAIL
+ >>> dict(a = i for i in range(10)) # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
SyntaxError: invalid syntax
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
@@ -109,12 +109,12 @@
PyPy has extended sytax error messages, ignore the detail for compatibility
->>> def f(x, None): # doctest: +IGNORE_EXCPTION_DETAIL
+>>> def f(x, None): # doctest: +IGNORE_EXCEPTION_DETAIL
... pass
Traceback (most recent call last):
SyntaxError: invalid syntax (expected ')')
->>> def f(*None): # doctest: +IGNORE_EXCPTION_DETAIL
+>>> def f(*None): # doctest: +IGNORE_EXCEPTION_DETAIL
... pass
Traceback (most recent call last):
SyntaxError: invalid syntax (expected ')')
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
@@ -161,14 +161,14 @@
Generator expression in function arguments
PyPy has extended sytax error messages, ignore the detail for compatibility
- >>> list(*x for x in (range(5) for i in range(3))) # doctest:
+IGNORE_EXCPTION_DETAIL
+ >>> list(*x for x in (range(5) for i in range(3))) # doctest:
+IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
list(*x for x in (range(5) for i in range(3)))
^
SyntaxError: invalid syntax
- >>> dict(**x for x in [{1:2}]) # doctest: +IGNORE_EXCPTION_DETAIL
+ >>> dict(**x for x in [{1:2}]) # doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
...
dict(**x for x in [{1:2}])
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit