mirror of
https://github.com/davidhalter/parso.git
synced 2026-10-10 23:29:12 +08:00
Make the normalizer tests' indentation easier to understand.
This commit is contained in:
1 parent
ebf5850cb9
commit
7d99b8e823
3 files changed
+3
-3
No files matched your search
@@ -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