Skip to content

Commit af0a1ed

Browse files
authored
Fix reported line:column in unit_testing_syntax_compatibility (#301)
Fixes #297
1 parent 5e1cb96 commit af0a1ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎unittesting/syntax.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def run(self, package=None, **kwargs):
8686
for location, _, message in results:
8787
stream.write(
8888
"%s:%d:%d: %s\n"
89-
% (syntax, location[0] + 1, location[0] + location[1], message)
89+
% (syntax, location[0] + 1, location[1] + 1, message)
9090
)
9191
if results:
9292
total_errors += len(results)

0 commit comments

Comments
 (0)