[Python-checkins] python/dist/src/Lib/test test_grammar.py,1.40,1.40.6.1

jhylton@users.sourceforge.net jhylton@users.sourceforge.net
Thu, 22 May 2003 09:43:05 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1:/tmp/cvs-serv24293/Lib/test

Modified Files:
      Tag: release22-maint
	test_grammar.py 
Log Message:
Backport fix for SF bug 734869 and sundry compiler cleanups.


Index: test_grammar.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_grammar.py,v
retrieving revision 1.40
retrieving revision 1.40.6.1
diff -C2 -d -r1.40 -r1.40.6.1
*** test_grammar.py	9 Dec 2001 09:12:34 -0000	1.40
--- test_grammar.py	22 May 2003 16:43:03 -0000	1.40.6.1
***************
*** 693,696 ****
--- 693,697 ----
  print [(i, s) for i in nums for s in strs]
  print [(i, s) for i in nums for s in [f for f in strs if "n" in f]]
+ print [(lambda a:[a**i for i in range(a+1)])(j) for j in range(5)] 
  
  def test_in_func(l):