summaryrefslogtreecommitdiff
path: root/tests/checkers/unittest_variables.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/checkers/unittest_variables.py')
-rw-r--r--tests/checkers/unittest_variables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkers/unittest_variables.py b/tests/checkers/unittest_variables.py
index 7ab79bf6f..62a9ca3d0 100644
--- a/tests/checkers/unittest_variables.py
+++ b/tests/checkers/unittest_variables.py
@@ -368,7 +368,7 @@ class TestMissingSubmodule(CheckerTestCase):
sys.path.insert(0, REGR_DATA_DIR)
try:
- linter.check(os.path.join(REGR_DATA_DIR, "package_all"))
+ linter.check([os.path.join(REGR_DATA_DIR, "package_all")])
got = linter.reporter.finalize().strip()
assert got == "E: 3: Undefined variable name 'missing' in __all__"
finally: