From 94ce3fd4743901aeb89743699da74c9307dc0ec1 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Mon, 20 Dec 2021 10:29:46 +0100 Subject: Fix unexpected types used in 'get_global_option' (#5555) --- tests/lint/unittest_expand_modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1