mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 09:26:27 +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()
|
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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user