summaryrefslogtreecommitdiff
path: root/pylint/testutils/functional_test_file.py
blob: e2bd7f59bd52fed882b0d58f52c28d23844a65fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/pylint/blob/main/CONTRIBUTORS.txt

__all__ = [
    "FunctionalTestFile",
    "NoFileError",
    "parse_python_version",
]

import warnings

from pylint.testutils.functional import (
    FunctionalTestFile,
    NoFileError,
    parse_python_version,
)

warnings.warn(
    "'pylint.testutils.functional_test_file' will be accessible from"
    " the 'pylint.testutils.functional' namespace in pylint 3.0.",
    DeprecationWarning,
    stacklevel=2,
)