tests for T165 and T156
authorStefan Behnel <scoder@users.berlios.de>
Sun, 8 Mar 2009 12:53:37 +0000 (13:53 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sun, 8 Mar 2009 12:53:37 +0000 (13:53 +0100)
tests/bugs/missing_self_in_cpdef_method_T156.pyx [new file with mode: 0644]
tests/bugs/missing_self_in_cpdef_method_T165.pyx [new file with mode: 0644]

diff --git a/tests/bugs/missing_self_in_cpdef_method_T156.pyx b/tests/bugs/missing_self_in_cpdef_method_T156.pyx
new file mode 100644 (file)
index 0000000..a7eb65b
--- /dev/null
@@ -0,0 +1,5 @@
+
+cdef class B:
+    cpdef b():
+        pass
+
diff --git a/tests/bugs/missing_self_in_cpdef_method_T165.pyx b/tests/bugs/missing_self_in_cpdef_method_T165.pyx
new file mode 100644 (file)
index 0000000..75349a8
--- /dev/null
@@ -0,0 +1,5 @@
+
+cdef class A:
+    cpdef a(int not_self):
+        pass
+