Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cdcede62
Commit
cdcede62
authored
May 30, 2006
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert test_exceptions to unittest.
parent
b0432bc0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
287 additions
and
349 deletions
+287
-349
Lib/test/output/test_exceptions
Lib/test/output/test_exceptions
+0
-52
Lib/test/test_exceptions.py
Lib/test/test_exceptions.py
+287
-297
No files found.
Lib/test/output/test_exceptions
deleted
100644 → 0
View file @
b0432bc0
test_exceptions
5. Built-in exceptions
spam
AttributeError
spam
EOFError
spam
IOError
spam
ImportError
spam
IndexError
'spam'
KeyError
spam
KeyboardInterrupt
(not testable in a script)
spam
MemoryError
(not safe to test)
spam
NameError
spam
OverflowError
spam
RuntimeError
(not used any more?)
spam
SyntaxError
'continue' not supported inside 'finally' clause
ok
'continue' not properly in loop
ok
'continue' not properly in loop
ok
spam
IndentationError
spam
TabError
spam
SystemError
(hard to reproduce)
spam
SystemExit
spam
TypeError
spam
ValueError
spam
ZeroDivisionError
spam
Exception
Lib/test/test_exceptions.py
View file @
cdcede62
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment