From ab646b04d55645413376c98ab4c73687581b6396 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 8 Mar 2009 13:53:37 +0100 Subject: [PATCH] tests for T165 and T156 --- tests/bugs/missing_self_in_cpdef_method_T156.pyx | 5 +++++ tests/bugs/missing_self_in_cpdef_method_T165.pyx | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 tests/bugs/missing_self_in_cpdef_method_T156.pyx create mode 100644 tests/bugs/missing_self_in_cpdef_method_T165.pyx 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 + -- 2.26.2