From: Stefan Behnel Date: Sun, 8 Mar 2009 12:53:37 +0000 (+0100) Subject: tests for T165 and T156 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ab646b04d55645413376c98ab4c73687581b6396;p=cython.git tests for T165 and T156 --- 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 index 00000000..a7eb65b3 --- /dev/null +++ b/tests/bugs/missing_self_in_cpdef_method_T156.pyx @@ -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 index 00000000..75349a87 --- /dev/null +++ b/tests/bugs/missing_self_in_cpdef_method_T165.pyx @@ -0,0 +1,5 @@ + +cdef class A: + cpdef a(int not_self): + pass +