diff options
author | Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> | 2022-05-17 13:58:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 13:58:36 +0200 |
commit | 4169f6bc6faab8f99a7577c4fa6912e152b72245 (patch) | |
tree | 06962dd7341c01fee787c4d712dec34ca7ff6cda /pylint/testutils | |
parent | 653e87adae4a0b9c5aa204af259c1286d9e99130 (diff) | |
download | pylint-git-4169f6bc6faab8f99a7577c4fa6912e152b72245.tar.gz |
Run linking and diadef handling with patched `sys.path` (#6617)
* Use separate directory for pyreverse related test data
Diffstat (limited to 'pylint/testutils')
-rw-r--r-- | pylint/testutils/pyreverse.py | 2 |
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( |