Browse Source

Disable some debug that crept in

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.6.6
night199uk 6 years ago
parent
commit
72118eaf8c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/test_parser.py

+ 1
- 1
tests/test_parser.py View File

@@ -337,7 +337,7 @@ def _make_full_earley_test(LEXER):


parser = _Lark(grammar, start='start', ambiguity='explicit') parser = _Lark(grammar, start='start', ambiguity='explicit')
tree = parser.parse(text) tree = parser.parse(text)
print(tree.pretty())
# print(tree.pretty())
self.assertEqual(tree.data, '_ambig') self.assertEqual(tree.data, '_ambig')


combinations = {tuple(str(s) for s in t.children) for t in tree.children} combinations = {tuple(str(s) for s in t.children) for t in tree.children}


Loading…
Cancel
Save