[pypy-svn] r66470 - pypy/branch/parser-compiler/lib-python/modified-2.5.2/test

benjamin at codespeak.net benjamin at codespeak.net
Tue Jul 21 04:57:28 CEST 2009


Author: benjamin
Date: Tue Jul 21 04:57:26 2009
New Revision: 66470

Modified:
   pypy/branch/parser-compiler/lib-python/modified-2.5.2/test/test_syntax.py
Log:
these are clearly implementation details

Modified: pypy/branch/parser-compiler/lib-python/modified-2.5.2/test/test_syntax.py
==============================================================================
--- pypy/branch/parser-compiler/lib-python/modified-2.5.2/test/test_syntax.py	(original)
+++ pypy/branch/parser-compiler/lib-python/modified-2.5.2/test/test_syntax.py	Tue Jul 21 04:57:26 2009
@@ -164,13 +164,13 @@
 
 >>> (x for x in x) += 1 # doctest: +ELLIPSIS 
 Traceback (most recent call last):
-SyntaxError: augmented assign...generator expression not possible (<doctest test.test_syntax[29]>, line 1)
+SyntaxError: can't assign to generator expression (<doctest test.test_syntax[29]>, line 1)
 >>> None += 1 # doctest: +ELLIPSIS 
 Traceback (most recent call last):
 SyntaxError: assignment to None... (<doctest test.test_syntax[30]>, line 1)
 >>> f() += 1
 Traceback (most recent call last):
-SyntaxError: illegal expression for augmented assignment (<doctest test.test_syntax[31]>, line 1)
+SyntaxError: can't assign to function call (<doctest test.test_syntax[31]>, line 1)
 
 
 Test continue in finally in weird combinations.



More information about the Pypy-commit mailing list