Skip to content

Commit

Permalink
add bllipparser as a dependency to tests, otherwise skip
Browse files Browse the repository at this point in the history
  • Loading branch information
dannysepler authored and Danny Sepler committed Dec 16, 2021
1 parent 70015f7 commit a52b7fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nltk/test/unit/test_bllip.py
Expand Up @@ -11,6 +11,10 @@ def parser():
return BllipParser.from_unified_model_dir(model_dir)


def setup_module():
pytest.importorskip("bllipparser")


class TestBllipParser:
def test_parser_loads_a_valid_tree(self, parser):
parsed = parser.parse("I saw the man with the telescope")
Expand Down
1 change: 1 addition & 0 deletions requirements-ci.txt
@@ -1,3 +1,4 @@
bllipparser
gensim<4.0.0
matplotlib
pytest
Expand Down

0 comments on commit a52b7fe

Please sign in to comment.