third_party.pylibs.pylint.src/pylint/testutils/functional_test_file.py

24 lines
617 B
Python
Raw Normal View History

# 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,
)