Skip to content

Commit 4574a94

Browse files
committed
Restore addon fixture files B.pyx and C.pyx
1 parent e86cb75 commit 4574a94

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

tests/test_files/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ number_conv.pyx
2020
inherited.pyx
2121
itertest.pyx
2222
int_container_class.pyx
23-
addons/*.pyx
2423
numpy_vector/*.pyx

tests/test_files/addons/B.pyx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from extra cimport M_PI
2+
3+
4+
def super_get(self, int i):
5+
cdef _Holder[int] ih
6+
ih.set(i+1)
7+
return ih.get()
8+
9+
def get_pi(self):
10+
return M_PI

tests/test_files/addons/C.pyx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
3+
cdef class CC:
4+
cc = 3

0 commit comments

Comments
 (0)