summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-02-26 19:22:54 +0100
committerGitHub <noreply@github.com>2023-02-26 19:22:54 +0100
commit27a3984832faf36be4fab07fef84086d25283846 (patch)
treec24472a9686739f38a48d78b5872fca3ec0c2be4
parentb70d2abd7fabe9bfd735a30b593b9cd5eaa36194 (diff)
downloadpylint-git-27a3984832faf36be4fab07fef84086d25283846.tar.gz
[test] Permits to debug more easily 'test_allow_reexport_package' (#8347)
Refs #8342
-rw-r--r--tests/checkers/unittest_imports.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkers/unittest_imports.py b/tests/checkers/unittest_imports.py
index 8aa062cf4..ed6c6648d 100644
--- a/tests/checkers/unittest_imports.py
+++ b/tests/checkers/unittest_imports.py
@@ -206,7 +206,7 @@ class TestImportsChecker(CheckerTestCase):
exit=False,
)
output, errors = capsys.readouterr()
- assert len(output.split("\n")) == 5
+ assert len(output.split("\n")) == 5, f"Expected 5 line breaks in:{output}"
assert (
"__init__.py:1:0: C0414: Import alias does not rename original package (useless-import-alias)"
in output