Commit b193f00e authored by Felix Kohlgrüber's avatar Felix Kohlgrüber

fix line numbers in other tests

parent 03fff78e
...@@ -7,5 +7,5 @@ class Pyclass(object): ...@@ -7,5 +7,5 @@ class Pyclass(object):
pass pass
_ERRORS = """ _ERRORS = """
6:4: cfunc directive is not allowed here 5:4: cfunc directive is not allowed here
""" """
...@@ -7,5 +7,5 @@ def foo(): ...@@ -7,5 +7,5 @@ def foo():
pass pass
_ERRORS = u""" _ERRORS = u"""
6:0: The autotestdict compiler directive is not allowed in function scope 5:0: The autotestdict compiler directive is not allowed in function scope
""" """
...@@ -11,8 +11,8 @@ def test(): ...@@ -11,8 +11,8 @@ def test():
_ERRORS = u""" _ERRORS = u"""
9:0: Expected path '//ComprehensionNode' not found in result tree 5:0: Expected path '//ComprehensionNode' not found in result tree
9:0: Expected path '//ComprehensionNode//FuncDefNode' not found in result tree 5:0: Expected path '//ComprehensionNode//FuncDefNode' not found in result tree
9:0: Unexpected path '//NameNode' found in result tree 5:0: Unexpected path '//NameNode' found in result tree
9:0: Unexpected path '//SimpleCallNode' found in result tree 5:0: Unexpected path '//SimpleCallNode' found in result tree
""" """
...@@ -242,7 +242,7 @@ _WARNINGS = """ ...@@ -242,7 +242,7 @@ _WARNINGS = """
218:29: Ambiguous types in annotation, ignoring 218:29: Ambiguous types in annotation, ignoring
# BUG: # BUG:
46:6: 'pytypes_cpdef' redeclared 46:6: 'pytypes_cpdef' redeclared
121:0: 'struct_io' redeclared 120:0: 'struct_io' redeclared
156:0: 'struct_convert' redeclared 149:0: 'struct_convert' redeclared
175:0: 'exception_default' redeclared 168:0: 'exception_default' redeclared
""" """
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment