mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-20 03:11:17 +08:00
Make the normalizer tests' indentation easier to understand.
This commit is contained in:
@@ -18,7 +18,7 @@ def collect_errors(code):
|
||||
column = len(match.group(1))
|
||||
if ':' in code:
|
||||
code, _, add_indent = code.partition(':')
|
||||
column += int(add_indent)
|
||||
column = int(add_indent)
|
||||
|
||||
yield "%s@(%s,%s)" % (code, line_nr + 1, column)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user