diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-03-09 11:51:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 11:51:17 +0100 |
commit | b2ab82a1daed9a9cc2062272e15dee7e6648e6b6 (patch) | |
tree | ab934b750020be616d4a1ed90084ce751cedd86b /tests/lint | |
parent | 0db9441a6f6675bfe1a82d6770a8cef72a7f0d22 (diff) | |
download | pylint-git-b2ab82a1daed9a9cc2062272e15dee7e6648e6b6.tar.gz |
Remove deprecated functions and classes (#8409)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'tests/lint')
-rw-r--r-- | tests/lint/unittest_lint.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/lint/unittest_lint.py b/tests/lint/unittest_lint.py index 9f7c20ee0..4808151b8 100644 --- a/tests/lint/unittest_lint.py +++ b/tests/lint/unittest_lint.py @@ -115,15 +115,6 @@ def fake_path() -> Iterator[list[str]]: sys.path[:] = orig -def test_deprecated() -> None: - """Test that fix_import_path() and get_python_path() are deprecated""" - with tempdir(): - create_files(["__init__.py"]) - with pytest.deprecated_call(): - with lint.fix_import_path([""]): - expand_modules.get_python_path("__init__.py") - - def test_no_args(fake_path: list[str]) -> None: with lint.augmented_sys_path([]): assert sys.path == fake_path |