[pypy-svn] r60030 - pypy/trunk/lib-python/modified-2.5.2/test

fijal at codespeak.net fijal at codespeak.net
Thu Nov 20 17:21:30 CET 2008


Author: fijal
Date: Thu Nov 20 17:21:30 2008
New Revision: 60030

Modified:
   pypy/trunk/lib-python/modified-2.5.2/test/test_generators.py
Log:
try to fix test_generators, next one if fatal rpython error


Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_generators.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_generators.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_generators.py	Thu Nov 20 17:21:30 2008
@@ -1535,12 +1535,12 @@
 >>> def f(): x = yield = y
 Traceback (most recent call last):
   ...
-SyntaxError: assignment to yield expression not possible (<doctest test.test_generators.__test__.coroutine[23]>, line 1)
+SyntaxError: can't assign to non-lvalue (<doctest test.test_generators.__test__.coroutine[23]>, line 1)
 
 >>> def f(): (yield bar) = y
 Traceback (most recent call last):
   ...
-SyntaxError: can't assign to yield expression (<doctest test.test_generators.__test__.coroutine[24]>, line 1)
+SyntaxError: can't assign to non-lvalue (<doctest test.test_generators.__test__.coroutine[24]>, line 1)
 
 >>> def f(): (yield bar) += y
 Traceback (most recent call last):



More information about the Pypy-commit mailing list