diff --git a/tests/test_docs.py b/tests/test_docs.py index 18c25d0f7..8ac005c8a 100644 --- a/tests/test_docs.py +++ b/tests/test_docs.py @@ -15,11 +15,11 @@ def test_1(): assert u"‘Give it BACK,’ he pleaded ABJECTLY, ‘it’s mine.’" o = nlp.vocab[u'back'].prob - assert o == -7.403977394104004 + assert o == -7.033305644989014 o = nlp.vocab[u'not'].prob - assert o == -5.407193660736084 + assert o == -5.332601070404053 o = nlp.vocab[u'quietly'].prob - assert o == -11.07155704498291 + assert o == -11.994928359985352 @pytest.mark.models @@ -35,14 +35,6 @@ def test2(): o = u''.join(tok.string.upper() if is_adverb(tok) else tok.string for tok in tokens) o == u'‘Give it back,’ he pleaded ABJECTLY, ‘it’s mine.’' - nlp.vocab[u'back'].prob - -7.033305644989014 - nlp.vocab[u'not'].prob - -5.332601070404053 - nlp.vocab[u'quietly'].prob - -11.994928359985352 - - @pytest.mark.models def test3(): import spacy.en