diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-03-24 22:24:37 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-03-28 21:48:17 +0200 |
commit | 178c7c63fa0625e70119983daca95b809e97289a (patch) | |
tree | 959014665e981062e3b8aa82c6b099f8b73ffa30 /tests/testutils/test_lint_module_output_update.py | |
parent | bb069b8b2841f190124248f19b11a4258dab4c4f (diff) | |
download | pylint-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.py | 5 |
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.""" |