diff --git a/tests/checkers/unittest_imports.py b/tests/checkers/unittest_imports.py index c20708643b..7544e34225 100644 --- a/tests/checkers/unittest_imports.py +++ b/tests/checkers/unittest_imports.py @@ -206,7 +206,7 @@ def test_allow_reexport_package(capsys: CaptureFixture[str]) -> None: exit=False, ) output, errors = capsys.readouterr() - assert len(output.split("\n")) == 7, f"Expected 5 line breaks in:{output}" + assert len(output.split("\n")) == 7, f"Expected 7 line breaks in:{output}" assert ( "__init__.py:1:0: C0414: Import alias does not rename original package (useless-import-alias)" in output