Skip to content

Commit 3f079af

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

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/nlu_nlg/nlu/test_pipeline.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,6 @@
3030
import pytest
3131
import importlib
3232

33-
def _spacy_model_available(model="en_core_web_sm"):
34-
"""Check if a spaCy model is installed."""
35-
try:
36-
import spacy
37-
spacy.load(model)
38-
return True
39-
except Exception:
40-
return False
41-
42-
pytestmark = pytest.mark.skipif(
43-
not _spacy_model_available(),
44-
reason="spaCy model 'en_core_web_sm' not installed in this environment"
45-
)
46-
47-
48-
NLUPipeline, NLUResult, create_nlu_pipeline
49-
)
50-
51-
5233
class TestNLUPipeline(unittest.TestCase):
5334
"""Test cases for the NLUPipeline class."""
5435

0 commit comments

Comments
 (0)