summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-12-20 10:29:46 +0100
committerGitHub <noreply@github.com>2021-12-20 10:29:46 +0100
commit94ce3fd4743901aeb89743699da74c9307dc0ec1 (patch)
tree091bdbdf0934f3bdaa115252a0e968761f24ad34
parentcdb57a8bfef91df7771c339b95931184f81ef940 (diff)
downloadpylint-git-94ce3fd4743901aeb89743699da74c9307dc0ec1.tar.gz
Fix unexpected types used in 'get_global_option' (#5555)
-rw-r--r--tests/lint/unittest_expand_modules.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lint/unittest_expand_modules.py b/tests/lint/unittest_expand_modules.py
index 4d679ad64..4d2cc812e 100644
--- a/tests/lint/unittest_expand_modules.py
+++ b/tests/lint/unittest_expand_modules.py
@@ -113,7 +113,7 @@ class TestExpandModules(CheckerTestCase):
files_or_modules,
ignore_list,
ignore_list_re,
- get_global_option(self, "ignore-paths"),
+ get_global_option(self.checker, "ignore-paths"),
)
modules.sort(key=lambda d: d["name"])
assert modules == expected