summaryrefslogtreecommitdiff
path: root/tests/config
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2022-03-30 13:50:06 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2022-03-31 12:34:05 +0200
commitbb84699b4d6925485f0e2e06eef0d7c052c67d67 (patch)
treebcfe407c5b13c65cf0c4722cd733a1ab642954a7 /tests/config
parent592f133f8d9f2d62b6f72e26de0c62b0e8636274 (diff)
downloadpylint-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.py1
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]