2017-01-10 18:24:10 +00:00
|
|
|
# coding: utf-8
|
|
|
|
from __future__ import unicode_literals
|
2016-11-01 11:33:36 +00:00
|
|
|
|
|
|
|
from ...vocab import Vocab
|
2017-01-12 21:00:37 +00:00
|
|
|
from ..util import get_doc
|
2016-11-01 11:33:36 +00:00
|
|
|
|
2017-01-10 18:24:10 +00:00
|
|
|
import pytest
|
|
|
|
|
2016-11-01 11:33:36 +00:00
|
|
|
|
2017-10-11 11:27:18 +00:00
|
|
|
@pytest.mark.xfail
|
2016-11-01 11:33:36 +00:00
|
|
|
def test_issue589():
|
|
|
|
vocab = Vocab()
|
|
|
|
vocab.strings.set_frozen(True)
|
2017-01-12 21:00:37 +00:00
|
|
|
doc = get_doc(vocab, ['whata'])
|