1 parent 5e1cb96 commit af0a1edCopy full SHA for af0a1ed
1 file changed
unittesting/syntax.py
@@ -86,7 +86,7 @@ def run(self, package=None, **kwargs):
86
for location, _, message in results:
87
stream.write(
88
"%s:%d:%d: %s\n"
89
- % (syntax, location[0] + 1, location[0] + location[1], message)
+ % (syntax, location[0] + 1, location[1] + 1, message)
90
)
91
if results:
92
total_errors += len(results)
0 commit comments