Skip to content

Commit 27a3984

Browse files
[test] Permits to debug more easily 'test_allow_reexport_package' (#8347)
Refs #8342
1 parent b70d2ab commit 27a3984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/checkers/unittest_imports.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def test_allow_reexport_package(capsys: CaptureFixture[str]) -> None:
206206
exit=False,
207207
)
208208
output, errors = capsys.readouterr()
209-
assert len(output.split("\n")) == 5
209+
assert len(output.split("\n")) == 5, f"Expected 5 line breaks in:{output}"
210210
assert (
211211
"__init__.py:1:0: C0414: Import alias does not rename original package (useless-import-alias)"
212212
in output

0 commit comments

Comments
 (0)