Skip to content

Commit e734d56

Browse files
[test] Permits to debug more easily 'test_allow_reexport_package' (#8347) (#8349)
Refs #8342 (cherry picked from commit 27a3984) Co-authored-by: Pierre Sassoulas <[email protected]>
1 parent 0006ae9 commit e734d56

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
@@ -152,7 +152,7 @@ def test_allow_reexport_package(capsys: CaptureFixture[str]) -> None:
152152
exit=False,
153153
)
154154
output, errors = capsys.readouterr()
155-
assert len(output.split("\n")) == 5
155+
assert len(output.split("\n")) == 5, f"Expected 5 line breaks in:{output}"
156156
assert (
157157
"__init__.py:1:0: C0414: Import alias does not rename original package (useless-import-alias)"
158158
in output

0 commit comments

Comments
 (0)