diff options
author | Fred Drake <fdrake@acm.org> | 2000-09-08 16:32:34 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-09-08 16:32:34 (GMT) |
commit | 72e48bd05fac4b5fd813f68a692a044a2a85f797 (patch) | |
tree | 5252d204d3cee2c201dc6e4c0bab43c64e940c4c /Lib/test/output/test_exceptions | |
parent | fd1f1be98dfe66cd16d2e404e046ec462699dded (diff) | |
download | cpython-72e48bd05fac4b5fd813f68a692a044a2a85f797.zip cpython-72e48bd05fac4b5fd813f68a692a044a2a85f797.tar.gz cpython-72e48bd05fac4b5fd813f68a692a044a2a85f797.tar.bz2 |
Add test cases to make sure we get the right SyntaxError message for
various illegal uses of "continue".
Diffstat (limited to 'Lib/test/output/test_exceptions')
-rw-r--r-- | Lib/test/output/test_exceptions | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/test/output/test_exceptions b/Lib/test/output/test_exceptions index 9e021d2..8ce0154 100644 --- a/Lib/test/output/test_exceptions +++ b/Lib/test/output/test_exceptions @@ -27,6 +27,16 @@ RuntimeError (not used any more?) 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 spam |