[Python-checkins] CVS: python/dist/src/Lib/test/output test_exceptions,1.4,1.5
Fred L. Drake
python-dev@python.org
Fri, 8 Sep 2000 09:32:36 -0700
Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory slayer.i.sourceforge.net:/tmp/cvs-serv17644/output
Modified Files:
test_exceptions
Log Message:
Add test cases to make sure we get the right SyntaxError message for
various illegal uses of "continue".
Index: test_exceptions
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_exceptions,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** test_exceptions 2000/07/11 17:52:59 1.4
--- test_exceptions 2000/09/08 16:32:34 1.5
***************
*** 28,31 ****
--- 28,41 ----
spam
SyntaxError
+ 'continue' not supported inside 'try' clause
+ ok
+ 'continue' not supported inside 'try' clause
+ ok
+ 'continue' not supported inside 'try' clause
+ ok
+ 'continue' not properly in loop
+ ok
+ 'continue' not properly in loop
+ ok
spam
IndentationError