Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
c9c6f81b
Commit
c9c6f81b
authored
Nov 13, 2010
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exception propagation test.
parent
383b9284
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
tests/run/exceptionpropagation.pyx
tests/run/exceptionpropagation.pyx
+14
-0
No files found.
tests/run/exceptionpropagation.pyx
View file @
c9c6f81b
...
...
@@ -28,3 +28,17 @@ def test_except_expr(bint fire):
RuntimeError
"""
except_expr
(
fire
)
cdef
double
except_big_result
(
bint
fire
)
except
100000000000000000000000000000000
:
if
fire
:
raise
RuntimeError
def
test_except_big_result
(
bint
fire
):
"""
>>> test_except_big_result(False)
>>> test_except_big_result(True)
Traceback (most recent call last):
...
RuntimeError
"""
except_big_result
(
fire
)
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