From f8486a02b039059c045ce15d7ab32b2aeb24a70a Mon Sep 17 00:00:00 2001 From: Erez Shinan Date: Sun, 20 Jan 2019 15:13:58 +0200 Subject: [PATCH] Minor cleanup --- lark/parser_frontends.py | 2 +- tests/test_parser.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lark/parser_frontends.py b/lark/parser_frontends.py index 30d0f9d..fcfb636 100644 --- a/lark/parser_frontends.py +++ b/lark/parser_frontends.py @@ -4,7 +4,7 @@ from functools import partial from .utils import get_regexp_width from .parsers.grammar_analysis import GrammarAnalyzer from .lexer import TraditionalLexer, ContextualLexer, Lexer, Token -from .parsers import lalr_parser, earley, earley_forest, xearley, cyk +from .parsers import lalr_parser, earley, xearley, cyk from .tree import Tree class WithLexer: diff --git a/tests/test_parser.py b/tests/test_parser.py index ca9d492..8fcfbf2 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -21,7 +21,6 @@ from lark.lark import Lark from lark.exceptions import GrammarError, ParseError, UnexpectedToken, UnexpectedInput from lark.tree import Tree from lark.visitors import Transformer -from lark.parsers.earley import ApplyCallbacks __path__ = os.path.dirname(__file__) def _read(n, *args):