mirror of https://github.com/explosion/spaCy.git
* Fix assertion in test_basic_create
This commit is contained in:
parent
afec8cac20
commit
3b79d67462
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue