From a5c7de87bb506ceae23115745f7fa3b2e3015f3b Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 10 Sep 2009 01:35:53 -0700 Subject: [PATCH] tests for #286 --- tests/errors/pxd_cdef_class_declaration_T286.pxd | 1 + tests/errors/pxd_cdef_class_declaration_T286.pyx | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 tests/errors/pxd_cdef_class_declaration_T286.pxd create mode 100644 tests/errors/pxd_cdef_class_declaration_T286.pyx diff --git a/tests/errors/pxd_cdef_class_declaration_T286.pxd b/tests/errors/pxd_cdef_class_declaration_T286.pxd new file mode 100644 index 00000000..671292fc --- /dev/null +++ b/tests/errors/pxd_cdef_class_declaration_T286.pxd @@ -0,0 +1 @@ +cdef class A diff --git a/tests/errors/pxd_cdef_class_declaration_T286.pyx b/tests/errors/pxd_cdef_class_declaration_T286.pyx new file mode 100644 index 00000000..7114bf8f --- /dev/null +++ b/tests/errors/pxd_cdef_class_declaration_T286.pyx @@ -0,0 +1,6 @@ +cdef class A: + pass + +_ERRORS = u""" +1:5: C class 'A' is declared but not defined +""" -- 2.26.2