Files
grammar/bindings/python/tests/test_binding.py
2026-03-15 14:40:13 +11:00

13 lines
320 B
Python
Generated

from unittest import TestCase
from tree_sitter import Language, Parser
import tree_sitter_ground
class TestLanguage(TestCase):
def test_can_load_grammar(self):
try:
Parser(Language(tree_sitter_ground.language()))
except Exception:
self.fail("Error loading Ground grammar")