* Fix assertion in test_basic_create

This commit is contained in:
Matthew Honnibal 2015-10-12 00:48:18 +11:00
parent afec8cac20
commit 3b79d67462

View File

@ -47,7 +47,7 @@ class TestVocab(unittest.TestCase):
def test_get_lexeme(self):
vocab = Vocab()
lexeme = vocab[u'Hello']
assert lexeme.orth_ == u'Hello'
self.assertEqual(lexeme.orth_, u'Hello')
class TestTokenizer(unittest.TestCase):