mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
add additional test back in (it works now)
This commit is contained in:
parent
2f6062a8a4
commit
689600e17d
|
@ -35,6 +35,8 @@ def test_tagger_warns_no_lookups():
|
|||
nlp.vocab.lookups = Lookups()
|
||||
assert not len(nlp.vocab.lookups)
|
||||
tagger = nlp.create_pipe("tagger")
|
||||
with pytest.warns(UserWarning):
|
||||
tagger.begin_training()
|
||||
nlp.add_pipe(tagger)
|
||||
with pytest.warns(UserWarning):
|
||||
nlp.begin_training()
|
||||
|
|
Loading…
Reference in New Issue
Block a user