From: Stefan Behnel Date: Thu, 7 Apr 2011 18:54:35 +0000 (+0200) Subject: error test fix X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=538ae90445dd72b7eb01f121f7214d580843649c;p=cython.git error test fix --- diff --git a/tests/errors/e_nonlocal_T490.pyx b/tests/errors/e_nonlocal_T490.pyx index 0079df2d..55d7e3a5 100644 --- a/tests/errors/e_nonlocal_T490.pyx +++ b/tests/errors/e_nonlocal_T490.pyx @@ -1,3 +1,4 @@ +# mode: error def test_non_existant(): nonlocal no_such_name @@ -28,8 +29,8 @@ def redef_in_class_scope(): _ERRORS = u""" - 3:4: no binding for nonlocal 'no_such_name' found -10:8: 'x' redeclared as nonlocal -15:4: no binding for nonlocal 'global_name' found -27:8: 'x' redeclared as nonlocal + 4:4: no binding for nonlocal 'no_such_name' found +11:8: 'x' redeclared as nonlocal +16:4: no binding for nonlocal 'global_name' found +28:8: 'x' redeclared as nonlocal """