diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-03-30 13:50:06 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2022-03-31 12:34:05 +0200 |
commit | bb84699b4d6925485f0e2e06eef0d7c052c67d67 (patch) | |
tree | bcfe407c5b13c65cf0c4722cd733a1ab642954a7 /tests/config | |
parent | 592f133f8d9f2d62b6f72e26de0c62b0e8636274 (diff) | |
download | pylint-git-bb84699b4d6925485f0e2e06eef0d7c052c67d67.tar.gz |
Handle invalid .cfg when assessing if they contain a pylint config
Diffstat (limited to 'tests/config')
-rw-r--r-- | tests/config/test_find_default_config_files.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/config/test_find_default_config_files.py b/tests/config/test_find_default_config_files.py index be401395f..04392781b 100644 --- a/tests/config/test_find_default_config_files.py +++ b/tests/config/test_find_default_config_files.py @@ -41,6 +41,7 @@ def test_toml_has_config(content: str, expected: bool, tmp_path: Path) -> None: "content,expected", [ ["", False], + ["(not valid .cfg)", False], [ """ [metadata] |