add additional test back in (it works now)

This commit is contained in:
svlandeg 2020-06-20 23:23:57 +02:00
parent 2f6062a8a4
commit 689600e17d

View File

@ -35,6 +35,8 @@ def test_tagger_warns_no_lookups():
nlp.vocab.lookups = Lookups() nlp.vocab.lookups = Lookups()
assert not len(nlp.vocab.lookups) assert not len(nlp.vocab.lookups)
tagger = nlp.create_pipe("tagger") tagger = nlp.create_pipe("tagger")
with pytest.warns(UserWarning):
tagger.begin_training()
nlp.add_pipe(tagger) nlp.add_pipe(tagger)
with pytest.warns(UserWarning): with pytest.warns(UserWarning):
nlp.begin_training() nlp.begin_training()