Add test for Issue #589

This commit is contained in:
Matthew Honnibal 2016-11-01 12:33:36 +01:00
parent 41b7014c70
commit 6977a2b8cd

View File

@ -0,0 +1,10 @@
import pytest
from ...vocab import Vocab
from ...tokens import Doc
def test_issue589():
vocab = Vocab()
vocab.strings.set_frozen(True)
doc = Doc(vocab, words=[u'whata'])