From ee3f9ba58141ef5e2e1c7d7cd2f13282751221bb Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 3 Nov 2015 19:45:16 +1100 Subject: [PATCH] * Fix test of serializer --- spacy/tests/serialize/test_packer.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/tests/serialize/test_packer.py b/spacy/tests/serialize/test_packer.py index b1f290589..e0d24208a 100644 --- a/spacy/tests/serialize/test_packer.py +++ b/spacy/tests/serialize/test_packer.py @@ -6,6 +6,7 @@ import pytest import numpy from spacy.language import Language +from spacy.en import English from spacy.vocab import Vocab from spacy.tokens.doc import Doc from spacy.tokenizer import Tokenizer @@ -20,7 +21,7 @@ from spacy.serialize.bits import BitArray @pytest.fixture def vocab(): - vocab = Language.default_vocab() + vocab = English.default_vocab() lex = vocab['dog'] assert vocab[vocab.strings['dog']].orth_ == 'dog' lex = vocab['the']