Skip to content

Commit ca0cd55

Browse files
committed
Small fixes
1 parent df3f48f commit ca0cd55

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/test_parser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2585,7 +2585,8 @@ def test_strict(self):
25852585
"""
25862586
self.assertRaises(GrammarError, _Lark, grammar, strict=True)
25872587

2588-
@unittest.skipIf(LEXER in ('dynamic', 'custom_old'), "start_pos and end_pos not compatible with old style custom/dynamic lexer ")
2588+
@unittest.skipIf(LEXER in ('dynamic', 'dynamic_complete', 'custom_old'),
2589+
"start_pos and end_pos not compatible with old style custom/dynamic lexer ")
25892590
def test_subset_parse(self):
25902591
grammar = r"""
25912592
start: (WORD|FRAG_END|FRAG_START)+

tests/test_scan.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import unittest
42

53
from lark import Lark, Tree

0 commit comments

Comments
 (0)