2017-01-10 21:24:10 +03:00
|
|
|
# coding: utf-8
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2016-11-11 00:46:23 +03:00
|
|
|
from ...vocab import Vocab
|
|
|
|
|
|
|
|
|
|
|
|
def test_load_vocab_with_string():
|
2016-11-11 00:48:10 +03:00
|
|
|
try:
|
|
|
|
vocab = Vocab.load('/tmp/vocab')
|
|
|
|
except IOError:
|
|
|
|
pass
|