summaryrefslogtreecommitdiff
path: root/tests/lint/unittest_lint.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lint/unittest_lint.py')
-rw-r--r--tests/lint/unittest_lint.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py
index 8e117f363..619c5fe12 100644
--- a/tests/lint/unittest_lint.py
+++ b/tests/lint/unittest_lint.py
@@ -979,6 +979,7 @@ def test_pylintrc() -> None:
with fake_home():
current_dir = getcwd()
chdir(os.path.dirname(os.path.abspath(sys.executable)))
+ # pylint: disable = too-many-try-statements
try:
with pytest.warns(DeprecationWarning):
assert config.find_pylintrc() is None