diff --git a/spacy/tests/serialize/test_packer.py b/spacy/tests/serialize/test_packer.py index 1e79c8247..b1f290589 100644 --- a/spacy/tests/serialize/test_packer.py +++ b/spacy/tests/serialize/test_packer.py @@ -20,7 +20,7 @@ from spacy.serialize.bits import BitArray @pytest.fixture def vocab(): - vocab = Vocab(Language.default_lex_attrs()) + vocab = Language.default_vocab() lex = vocab['dog'] assert vocab[vocab.strings['dog']].orth_ == 'dog' lex = vocab['the']