summaryrefslogtreecommitdiff
path: root/tests/checkers/unittest_variables.py
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2021-09-16 16:58:37 +0200
committerGitHub <noreply@github.com>2021-09-16 16:58:37 +0200
commit0d246e55a3d13d4fb0829c000064fa26fcbd4183 (patch)
treee63a3ebb6a6370a54073cbab46ff7c1f15a16111 /tests/checkers/unittest_variables.py
parentdc0c7e97b1e92beffa36f76c5c56164f69b81a2a (diff)
downloadpylint-git-0d246e55a3d13d4fb0829c000064fa26fcbd4183.tar.gz
Add typing to ``filepath`` (#4980)
* Change tests for ``filepath`` changes * Add pylint/typing.py and FileItem NamedTuple * Use NamedTuple more efficiently * Fix errors and tests after adding warning * Add deprecation for future API change in Checker Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
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: