diff --git a/spacy/tests/regression/test_issue1757.py b/spacy/tests/regression/test_issue1757.py index 384d3d067..782d767b5 100644 --- a/spacy/tests/regression/test_issue1757.py +++ b/spacy/tests/regression/test_issue1757.py @@ -13,6 +13,6 @@ def test_issue1757(): assert not span < None assert not span == None assert span >= None - lex = vocab['a'] + lex = doc.vocab['a'] assert not lex == None assert not lex < None