summaryrefslogtreecommitdiff
path: root/tests/testutils/test_lint_module_output_update.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-24 22:24:37 +0100
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2023-03-28 21:48:17 +0200
commit178c7c63fa0625e70119983daca95b809e97289a (patch)
tree959014665e981062e3b8aa82c6b099f8b73ffa30 /tests/testutils/test_lint_module_output_update.py
parentbb069b8b2841f190124248f19b11a4258dab4c4f (diff)
downloadpylint-git-178c7c63fa0625e70119983daca95b809e97289a.tar.gz
[testutil] Do not count files with leading underscores
Diffstat (limited to 'tests/testutils/test_lint_module_output_update.py')
-rw-r--r--tests/testutils/test_lint_module_output_update.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testutils/test_lint_module_output_update.py b/tests/testutils/test_lint_module_output_update.py
index 4874c9713..04c51d884 100644
--- a/tests/testutils/test_lint_module_output_update.py
+++ b/tests/testutils/test_lint_module_output_update.py
@@ -18,7 +18,6 @@ from pylint.testutils.functional import LintModuleOutputUpdate
FIXTURE_DIRECTORY = Path(__file__).parent / "data/functional"
DIRECTORIES = list(FIXTURE_DIRECTORY.iterdir())
-DIRECTORIES_NAMES = [d.name for d in DIRECTORIES]
@pytest.fixture()
@@ -88,7 +87,9 @@ def test_lint_module_output_update_remove_useless_txt(
not PY38_PLUS or (IS_PYPY and not PY39_PLUS),
reason="Requires accurate 'end_col' value to update output",
)
-@pytest.mark.parametrize("directory_path", DIRECTORIES, ids=DIRECTORIES_NAMES)
+@pytest.mark.parametrize(
+ "directory_path", DIRECTORIES, ids=[str(p) for p in DIRECTORIES]
+)
def test_update_of_functional_output(directory_path: Path, tmp_path: Path) -> None:
"""Functional test for the functional tests' helper."""