From: Stefan Behnel Date: Sat, 5 Feb 2011 16:41:31 +0000 (+0100) Subject: fix error test case X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b320d785906186a2f4a5c95ab79f43c4254d0c3a;p=cython.git fix error test case --- 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