summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-02-26 19:50:02 +0100
committerGitHub <noreply@github.com>2023-02-26 19:50:02 +0100
commite734d569a432ee846051297c7a99e28852fa0a9e (patch)
tree11027727431528020a0b08c3426498367cdfb8ef
parent0006ae993340aecf1eefdc402bc58a6e611a1586 (diff)
downloadpylint-git-e734d569a432ee846051297c7a99e28852fa0a9e.tar.gz
[test] Permits to debug more easily 'test_allow_reexport_package' (#8347) (#8349)
Refs #8342 (cherry picked from commit 27a3984832faf36be4fab07fef84086d25283846) Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
-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 40aa8432a..04eadcf1c 100644
--- a/tests/checkers/unittest_imports.py
+++ b/tests/checkers/unittest_imports.py
@@ -152,7 +152,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