* Fix test of serializer

This commit is contained in:
Matthew Honnibal 2015-11-03 19:43:27 +11:00
parent 4083059650
commit d06ba26371
1 changed files with 1 additions and 1 deletions

View File

@ -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']