* 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
1 changed files with 1 additions and 1 deletions

View File

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