Get the indentation errors of files mostly right even in comments.

This commit is contained in:
Dave Halter
2017-06-07 17:06:48 +02:00
parent b73aa1fd61
commit 03c34d6105
4 changed files with 126 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ def test_normalizer_issue(normalizer_issue_file):
assert i == d, dedent("""
Test %r failed (%s of %s passed).
not raised = %s
unspecified = %s
unexpected = %s
""") % (
normalizer_issue_file.name, len(i & d), len(d),
sorted(d - i), sorted(i - d)