From 538ae90445dd72b7eb01f121f7214d580843649c Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 7 Apr 2011 20:54:35 +0200 Subject: [PATCH] error test fix --- tests/errors/e_nonlocal_T490.pyx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 """ -- 2.26.2