__init__.py 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Copyright (c) 2012-2014 LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
  2. # Copyright (c) 2012 FELD Boris <lothiraldan@gmail.com>
  3. # Copyright (c) 2013-2018, 2020 Claudiu Popa <pcmanticore@gmail.com>
  4. # Copyright (c) 2013-2014 Google, Inc.
  5. # Copyright (c) 2013 buck@yelp.com <buck@yelp.com>
  6. # Copyright (c) 2014 LCD 47 <lcd047@gmail.com>
  7. # Copyright (c) 2014 Brett Cannon <brett@python.org>
  8. # Copyright (c) 2014 Ricardo Gemignani <ricardo.gemignani@gmail.com>
  9. # Copyright (c) 2014 Arun Persaud <arun@nubati.net>
  10. # Copyright (c) 2015 Pavel Roskin <proski@gnu.org>
  11. # Copyright (c) 2015 Ionel Cristian Maries <contact@ionelmc.ro>
  12. # Copyright (c) 2016 Derek Gustafson <degustaf@gmail.com>
  13. # Copyright (c) 2016 Roy Williams <roy.williams.iii@gmail.com>
  14. # Copyright (c) 2016 xmo-odoo <xmo-odoo@users.noreply.github.com>
  15. # Copyright (c) 2017 Bryce Guinta <bryce.paul.guinta@gmail.com>
  16. # Copyright (c) 2018 ssolanki <sushobhitsolanki@gmail.com>
  17. # Copyright (c) 2018 Sushobhit <31987769+sushobhit27@users.noreply.github.com>
  18. # Copyright (c) 2019-2021 Pierre Sassoulas <pierre.sassoulas@gmail.com>
  19. # Copyright (c) 2019 Mr. Senko <atodorov@mrsenko.com>
  20. # Copyright (c) 2019 Hugo van Kemenade <hugovk@users.noreply.github.com>
  21. # Copyright (c) 2020 hippo91 <guillaume.peillex@gmail.com>
  22. # Copyright (c) 2020 谭九鼎 <109224573@qq.com>
  23. # Copyright (c) 2020 Anthony Sottile <asottile@umich.edu>
  24. # Copyright (c) 2021 Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
  25. # Copyright (c) 2021 Marc Mueller <30130371+cdce8p@users.noreply.github.com>
  26. # Copyright (c) 2021 Lefteris Karapetsas <lefteris@refu.co>
  27. # Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  28. # For details: https://github.com/PyCQA/pylint/blob/main/LICENSE
  29. """Functional/non regression tests for pylint"""
  30. __all__ = [
  31. "_get_tests_info",
  32. "_tokenize_str",
  33. "CheckerTestCase",
  34. "FunctionalTestFile",
  35. "linter",
  36. "LintModuleTest",
  37. "MessageTest",
  38. "MinimalTestReporter",
  39. "set_config",
  40. "GenericTestReporter",
  41. "UPDATE_FILE",
  42. "UPDATE_OPTION",
  43. "UnittestLinter",
  44. ]
  45. from pylint.testutils.checker_test_case import CheckerTestCase
  46. from pylint.testutils.constants import UPDATE_FILE, UPDATE_OPTION
  47. from pylint.testutils.decorator import set_config
  48. from pylint.testutils.functional_test_file import FunctionalTestFile
  49. from pylint.testutils.get_test_info import _get_tests_info
  50. from pylint.testutils.global_test_linter import linter
  51. from pylint.testutils.lint_module_test import LintModuleTest
  52. from pylint.testutils.output_line import MessageTest
  53. from pylint.testutils.reporter_for_tests import GenericTestReporter, MinimalTestReporter
  54. from pylint.testutils.tokenize_str import _tokenize_str
  55. from pylint.testutils.unittest_linter import UnittestLinter