summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* reload(exceptions) should not raise an ImportError, but should actBarry Warsaw2001-08-131-0/+8
| | | | just like reload(sys). Test that this is so. Closes SF bug #422004.
* Allow 'continue' inside 'try' clauseJeremy Hylton2001-02-011-19/+2
| | | | SF patch 102989 by Thomas Wouters
* Use 4-space indents.Fred Drake2000-10-231-8/+8
|
* Add test cases to make sure we get the right SyntaxError message forFred Drake2000-09-081-0/+49
| | | | various illegal uses of "continue".
* Applying patch #100994 to allow JPython to use more of the standardBarry Warsaw2000-09-011-1/+1
| | | | | | | | | | | | | Python test suite. Specifically, - import time instead of strop in test_b1 - test for ClassType of exceptions using isinstance instead of equality in test_exceptions - remove __builtins__ from dir() output in test_pkg test_pkg output needs to be regenerated.
* Create two new exceptions: IndentationError and TabError. These areFred Drake2000-07-111-0/+8
| | | | | | | used for indentation related errors. This patch includes Ping's improvements for indentation-related error messages. Closes SourceForge patches #100734 and #100856.
* add minimal test of exception use. verify that each exception can beJeremy Hylton2000-06-201-0/+12
| | | | raised, caught, and converted to a string.
* Added a test to catch the base class.Barry Warsaw2000-05-251-0/+4
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-10/+10
|
* Expanded r() function to handle class exceptions.Barry Warsaw1997-08-291-1/+6
|
* exec() -> execGuido van Rossum1995-08-111-1/+1
|
* Unmerged except and finally clausesGuido van Rossum1992-05-061-4/+5
|
* Initial revisionGuido van Rossum1992-01-271-0/+91