summaryrefslogtreecommitdiff
path: root/pylint/testutils/pyreverse.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/testutils/pyreverse.py')
-rw-r--r--pylint/testutils/pyreverse.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pylint/testutils/pyreverse.py b/pylint/testutils/pyreverse.py
index b7936d268..fc20b5453 100644
--- a/pylint/testutils/pyreverse.py
+++ b/pylint/testutils/pyreverse.py
@@ -84,6 +84,8 @@ def get_functional_test_files(
"""Get all functional test files from the given directory."""
test_files = []
for path in root_directory.rglob("*.py"):
+ if path.stem.startswith("_"):
+ continue
config_file = path.with_suffix(".rc")
if config_file.exists():
test_files.append(