Commit 83323b2d authored by Robert Bradshaw's avatar Robert Bradshaw

Test for cpp exception handling

parent 522af196
cdef void raise_py_error():
pass
cdef extern from "foo.h":
cdef int generic_error() except +
cdef int specified_error() except +MemoryError
cdef int dynamic_error() except +raise_py_error
def test_it():
generic_error()
specified_error()
dynamic_error()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment