[Python-checkins] CVS: python/dist/src/Lib/test test_grammar.py,1.32,1.33

Jeremy Hylton jhylton@users.sourceforge.net
Mon, 19 Feb 2001 07:54:54 -0800


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

Modified Files:
	test_grammar.py 
Log Message:
Add simple section for assert, including assert w/ lambdas


Index: test_grammar.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_grammar.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -r1.32 -r1.33
*** test_grammar.py	2001/02/19 15:35:26	1.32
--- test_grammar.py	2001/02/19 15:54:52	1.33
***************
*** 418,421 ****
--- 418,427 ----
  
  
+ print "assert_stmt" # assert_stmt: 'assert' test [',' test]
+ assert 1
+ assert 1, 1
+ assert lambda x:x
+ assert 1, lambda x:x+1
+ 
  ### compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | funcdef | classdef
  # Tested below