Commit 87380faa authored by Stefan Behnel's avatar Stefan Behnel

fix test

parent dec08594
# mode: run # mode: run
# tag: cpp # tag: cpp, werror
#### tag: werror # FIXME: fix spurious warnings and enable
# cython: experimental_cpp_class_def=True # cython: experimental_cpp_class_def=True
cdef double pi cdef double pi
...@@ -61,9 +60,15 @@ def test_Static(x): ...@@ -61,9 +60,15 @@ def test_Static(x):
cdef cppclass InitDealloc: cdef cppclass InitDealloc:
__init__(): __init__():
try:
print "Init" print "Init"
finally:
return # swallow any exceptions
__dealloc__(): __dealloc__():
try:
print "Dealloc" print "Dealloc"
finally:
return # swallow any exceptions
def test_init_dealloc(): def test_init_dealloc():
""" """
......
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