This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
980 B

  1. from __future__ import absolute_import, print_function
  2. import unittest
  3. import logging
  4. from lark import logger
  5. from .test_trees import TestTrees
  6. from .test_tools import TestStandalone
  7. from .test_cache import TestCache
  8. from .test_reconstructor import TestReconstructor
  9. try:
  10. from .test_nearley.test_nearley import TestNearley
  11. except ImportError:
  12. logger.warning("Warning: Skipping tests for Nearley grammar imports (js2py required)")
  13. # from .test_selectors import TestSelectors
  14. # from .test_grammars import TestPythonG, TestConfigG
  15. from .test_logger import Testlogger
  16. from .test_parser import (
  17. TestLalrStandard,
  18. TestEarleyStandard,
  19. TestCykStandard,
  20. TestLalrContextual,
  21. TestEarleyDynamic,
  22. TestLalrCustom,
  23. # TestFullEarleyStandard,
  24. TestFullEarleyDynamic,
  25. TestFullEarleyDynamic_complete,
  26. TestParsers,
  27. )
  28. logger.setLevel(logging.INFO)
  29. if __name__ == '__main__':
  30. unittest.main()