From d06ba2637132eea686aa58afcdebde8e84abe78f Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 3 Nov 2015 19:43:27 +1100 Subject: [PATCH] * Fix test of serializer --- spacy/tests/serialize/test_packer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']