Skip to content

Commit 94ce3fd

Browse files
Fix unexpected types used in 'get_global_option' (#5555)
1 parent cdb57a8 commit 94ce3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lint/unittest_expand_modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def test_expand_modules(self, files_or_modules, expected):
113113
files_or_modules,
114114
ignore_list,
115115
ignore_list_re,
116-
get_global_option(self, "ignore-paths"),
116+
get_global_option(self.checker, "ignore-paths"),
117117
)
118118
modules.sort(key=lambda d: d["name"])
119119
assert modules == expected

0 commit comments

Comments
 (0)