[Python-checkins] CVS: python/dist/src/Lib/test/output test_grammar,1.7,1.8

Jeremy Hylton jhylton@users.sourceforge.net
Mon, 22 Jan 2001 17:51:42 -0800


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv12584/output

Modified Files:
	test_grammar 
Log Message:
Add simple test of list comprehension that uses a name that isn't
otherwise used in the same code block.  (Not sure this is the right
place, but there is no test_list_comprehensions.py.)


Index: test_grammar
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_grammar,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** test_grammar	2000/08/29 04:57:10	1.7
--- test_grammar	2001/01/23 01:51:40	1.8
***************
*** 56,59 ****
--- 56,60 ----
  [(1, 'Apple'), (1, 'Banana'), (1, 'Coconut'), (2, 'Apple'), (2, 'Banana'), (2, 'Coconut'), (3, 'Apple'), (3, 'Banana'), (3, 'Coconut'), (4, 'Apple'), (4, 'Banana'), (4, 'Coconut'), (5, 'Apple'), (5, 'Banana'), (5, 'Coconut')]
  [(1, 'Banana'), (1, 'Coconut'), (2, 'Banana'), (2, 'Coconut'), (3, 'Banana'), (3, 'Coconut'), (4, 'Banana'), (4, 'Coconut'), (5, 'Banana'), (5, 'Coconut')]
+ [0, 0, 0]
  good: got a SyntaxError as expected
  good: got a SyntaxError as expected