Skip to content

Commit 5fe1101

Browse files
committed
chore: remove spaCy skip guard — NLU/NLG source fixes landed in #92
1 parent 6029f39 commit 5fe1101

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/nlu_nlg/nlu/test_lexical_analyzer_parser.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,6 @@
1010
import pytest
1111
import importlib
1212

13-
def _spacy_model_available(model="en_core_web_sm"):
14-
"""Check if a spaCy model is installed."""
15-
try:
16-
import spacy
17-
spacy.load(model)
18-
return True
19-
except Exception:
20-
return False
21-
22-
pytestmark = pytest.mark.skipif(
23-
not _spacy_model_available(),
24-
reason="spaCy model 'en_core_web_sm' not installed in this environment"
25-
)
26-
27-
28-
LexicalAnalyzerParser, Token, Entity, Span, Sentence, SyntacticParseOutput
29-
)
30-
31-
3213
class TestLexicalAnalyzerParser(unittest.TestCase):
3314
"""Test cases for the LexicalAnalyzerParser class."""
3415

0 commit comments

Comments
 (0)