diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2021-09-16 16:58:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-16 16:58:37 +0200 |
commit | 0d246e55a3d13d4fb0829c000064fa26fcbd4183 (patch) | |
tree | e63a3ebb6a6370a54073cbab46ff7c1f15a16111 /tests/checkers/unittest_variables.py | |
parent | dc0c7e97b1e92beffa36f76c5c56164f69b81a2a (diff) | |
download | pylint-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.py | 2 |
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: |