[Python-checkins] python/dist/src/Lib/test test_genexps.py, 1.7.4.1, 1.7.4.2

jhylton@users.sourceforge.net jhylton at users.sourceforge.net
Thu Oct 13 18:11:19 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22475/Lib/test

Modified Files:
      Tag: ast-branch
	test_genexps.py 
Log Message:
Track change to genexp syntax error string.


Index: test_genexps.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_genexps.py,v
retrieving revision 1.7.4.1
retrieving revision 1.7.4.2
diff -u -d -r1.7.4.1 -r1.7.4.2
--- test_genexps.py	7 Jan 2005 06:59:09 -0000	1.7.4.1
+++ test_genexps.py	13 Oct 2005 16:11:15 -0000	1.7.4.2
@@ -125,12 +125,13 @@
     >>> (y for y in (1,2)) = 10
     Traceback (most recent call last):
        ...
-    SyntaxError: assign to generator expression not possible
+    SyntaxError: assignment to generator expression not possible (<doctest test.test_genexps.__test__.doctests[38]>, line 1)
 
     >>> (y for y in (1,2)) += 10
     Traceback (most recent call last):
        ...
-    SyntaxError: augmented assign to tuple literal or generator expression not possible
+    SyntaxError: augmented assignment to generator expression not possible (<doctest test.test_genexps.__test__.doctests[39]>, line 1)
+
 
 
 



More information about the Python-checkins mailing list