Browse Source

Prevent test from running with old custom lexer

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.11.2
MegaIng1 4 years ago
parent
commit
83e896b3b8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/test_parser.py

+ 1
- 1
tests/test_parser.py View File

@@ -2361,7 +2361,7 @@ def _make_parser_test(LEXER, PARSER):
self.assertEqual(a.line, 1)
self.assertEqual(b.line, 2)

@unittest.skipIf(PARSER=='cyk', "match_examples() not supported for CYK")
@unittest.skipIf(PARSER=='cyk' or LEXER=='custom_old', "match_examples() not supported for CYK/old custom lexer")
def test_match_examples(self):
p = _Lark(r"""
start: "a" "b" "c"


Loading…
Cancel
Save