From 76db867b1eb41d571c21ffac6f27544ae148bf7f Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Thu, 5 Nov 2009 21:09:47 -0800 Subject: [PATCH] Remove unneeded cpp_exception compile test. It's 100% redundant with the test in the run directory, and fails on Windows. --- tests/compile/cpp_exceptions.h | 3 --- tests/compile/cpp_exceptions_T265.pyx | 12 ------------ 2 files changed, 15 deletions(-) delete mode 100644 tests/compile/cpp_exceptions.h delete mode 100644 tests/compile/cpp_exceptions_T265.pyx diff --git a/tests/compile/cpp_exceptions.h b/tests/compile/cpp_exceptions.h deleted file mode 100644 index c9ec834e..00000000 --- a/tests/compile/cpp_exceptions.h +++ /dev/null @@ -1,3 +0,0 @@ -extern int generic_error(void); -extern int specified_error(void); -extern int dynamic_error(void); diff --git a/tests/compile/cpp_exceptions_T265.pyx b/tests/compile/cpp_exceptions_T265.pyx deleted file mode 100644 index de7003e5..00000000 --- a/tests/compile/cpp_exceptions_T265.pyx +++ /dev/null @@ -1,12 +0,0 @@ -cdef void raise_py_error(): - pass - -cdef extern from "cpp_exceptions.h": - cdef int generic_error() except + - cdef int specified_error() except +MemoryError - cdef int dynamic_error() except +raise_py_error - -def test_it(): - generic_error() - specified_error() - dynamic_error() -- 2.26.2