functional_test_file.py 645 B

123456789101112131415161718192021222324
  1. # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  2. # For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
  3. # Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt
  4. __all__ = [
  5. "FunctionalTestFile",
  6. "NoFileError",
  7. "parse_python_version",
  8. ]
  9. import warnings
  10. from pylint.testutils.functional import (
  11. FunctionalTestFile,
  12. NoFileError,
  13. parse_python_version,
  14. )
  15. warnings.warn(
  16. "'pylint.testutils.functional_test_file' will be accessible from"
  17. " the 'pylint.testutils.functional' namespace in pylint 3.0.",
  18. DeprecationWarning,
  19. stacklevel=2,
  20. )