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):
pass
_ERRORS = """
6:4: cfunc directive is not allowed here
5:4: cfunc directive is not allowed here
"""
......@@ -7,5 +7,5 @@ def foo():
pass
_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():
_ERRORS = u"""
9:0: Expected path '//ComprehensionNode' not found in result tree
9:0: Expected path '//ComprehensionNode//FuncDefNode' not found in result tree
9:0: Unexpected path '//NameNode' found in result tree
9:0: Unexpected path '//SimpleCallNode' found in result tree
5:0: Expected path '//ComprehensionNode' not found in result tree
5:0: Expected path '//ComprehensionNode//FuncDefNode' not found in result tree
5:0: Unexpected path '//NameNode' found in result tree
5:0: Unexpected path '//SimpleCallNode' found in result tree
"""
......@@ -242,7 +242,7 @@ _WARNINGS = """
218:29: Ambiguous types in annotation, ignoring
# BUG:
46:6: 'pytypes_cpdef' redeclared
121:0: 'struct_io' redeclared
156:0: 'struct_convert' redeclared
175:0: 'exception_default' redeclared
120:0: 'struct_io' redeclared
149:0: 'struct_convert' 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