Traceback (most recent call last):
File "/home/classic/dev/zimports/tests.py", line 118, in test_whitespace3
self._assert_file("whitespace3.py")
File "/home/classic/dev/zimports/tests.py", line 56, in _assert_file
zimports.main(
File "/home/classic/dev/zimports/zimports/cli.py", line 110, in main
run_with_options(options)
File "/home/classic/dev/zimports/zimports/zimports.py", line 842, in run_with_options
_run_file(options, filename)
File "/home/classic/dev/zimports/zimports/zimports.py", line 786, in _run_file
result, stats = Rewriter(options, filename, source_lines).rewrite()
File "/home/classic/dev/zimports/zimports/zimports.py", line 161, in rewrite
rewritten = self._do_rewrite(rewritten, type_check_pass=False)
File "/home/classic/dev/zimports/zimports/zimports.py", line 103, in _do_rewrite
imports, warnings, lines_with_code = _parse_toplevel_imports(
File "/home/classic/dev/zimports/zimports/zimports.py", line 452, in _parse_toplevel_imports
tree = ast.parse(source, filename)
File "/opt/python-3.10.0/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "test_files/whitespace3.py", line 9
^
IndentationError: unexpected indent
=================================================================== short test summary info ====================================================================
FAILED tests.py::ImportsTest::test_per_file_ignore - File "test_files/tricky_parens.py", line 59
FAILED tests.py::ImportsTest::test_per_file_ignore_file_not_selected - File "test_files/tricky_parens.py", line 59
FAILED tests.py::ImportsTest::test_per_file_ignore_other_codes - File "test_files/tricky_parens.py", line 59
FAILED tests.py::ImportsTest::test_sqla_test_file - File "test_files/sqla_test_file.py", line 82
FAILED tests.py::ImportsTest::test_tricky_parens - File "test_files/tricky_parens.py", line 59
FAILED tests.py::ImportsTest::test_type_checking2 - File "test_files/type_checking2.py", line 41
FAILED tests.py::ImportsTest::test_whitespace2 - File "test_files/whitespace2.py", line 6
FAILED tests.py::ImportsTest::test_whitespace3 - File "test_files/whitespace3.py", line 9