error test fix
authorStefan Behnel <scoder@users.berlios.de>
Thu, 7 Apr 2011 18:54:35 +0000 (20:54 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 7 Apr 2011 18:54:35 +0000 (20:54 +0200)
tests/errors/e_nonlocal_T490.pyx

index 0079df2dcd979dcae3b208bc5be6409e13fa6173..55d7e3a5255fa28147f1b76478fba26799181e17 100644 (file)
@@ -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
 """