From: W. Trevor King Date: Sun, 20 Feb 2011 02:02:37 +0000 (-0500) Subject: Adjust expected test error messages to match p_c_python_binding parsing. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=14435bc0a3edc82dddaad0b82eb92c1d3e27afd0;p=cython.git Adjust expected test error messages to match p_c_python_binding parsing. --- diff --git a/tests/errors/e_func_in_pxd.pyx b/tests/errors/e_func_in_pxd.pyx index e8a158c3..7453c6e0 100644 --- a/tests/errors/e_func_in_pxd.pyx +++ b/tests/errors/e_func_in_pxd.pyx @@ -2,6 +2,6 @@ cimport e_func_in_pxd_support _ERRORS = u""" 1:5: function definition in pxd file must be declared 'cdef inline' -4:5: inline function definition in pxd file cannot be 'public' +4:12: inline function definition in pxd file cannot be 'public' 7:5: inline function definition in pxd file cannot be 'api' """ diff --git a/tests/errors/e_undefexttype.pyx b/tests/errors/e_undefexttype.pyx index 23b7903a..232f4d73 100644 --- a/tests/errors/e_undefexttype.pyx +++ b/tests/errors/e_undefexttype.pyx @@ -2,5 +2,5 @@ cdef class Spam cdef extern class external.Eggs _ERRORS = u""" 1:5: C class 'Spam' is declared but not defined -2:5: C class 'Eggs' is declared but not defined +2:12: C class 'Eggs' is declared but not defined """