From b320d785906186a2f4a5c95ab79f43c4254d0c3a Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 5 Feb 2011 17:41:31 +0100 Subject: [PATCH] fix error test case --- tests/errors/e_declarations.pyx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/errors/e_declarations.pyx b/tests/errors/e_declarations.pyx index 0e9c804d..388978d1 100644 --- a/tests/errors/e_declarations.pyx +++ b/tests/errors/e_declarations.pyx @@ -7,9 +7,10 @@ cdef void f(): cdef int (*h)() h = f # this is an error h = f # this is OK + + _ERRORS = u""" 1:19: Array element cannot be a function -2:18: Function cannot return an array 3:18: Function cannot return a function 8:10: Function cannot return a function 8:5: Cannot cast to a function type -- 2.26.2