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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
87380faa
Commit
87380faa
authored
Nov 23, 2014
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test
parent
dec08594
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
tests/run/cpp_classes_def.pyx
tests/run/cpp_classes_def.pyx
+9
-4
No files found.
tests/run/cpp_classes_def.pyx
View file @
87380faa
# mode: run
# tag: cpp
#### tag: werror # FIXME: fix spurious warnings and enable
# tag: cpp, werror
# cython: experimental_cpp_class_def=True
cdef
double
pi
...
...
@@ -61,9 +60,15 @@ def test_Static(x):
cdef
cppclass
InitDealloc
:
__init__
():
print
"Init"
try
:
print
"Init"
finally
:
return
# swallow any exceptions
__dealloc__
():
print
"Dealloc"
try
:
print
"Dealloc"
finally
:
return
# swallow any exceptions
def
test_init_dealloc
():
"""
...
...
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