mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
* 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):
|
||||
vocab = Vocab()
|
||||
lexeme = vocab[u'Hello']
|
||||
assert lexeme.orth_ == u'Hello'
|
||||
self.assertEqual(lexeme.orth_, u'Hello')
|
||||
|
||||
|
||||
class TestTokenizer(unittest.TestCase):
|
||||
|
|
Loading…
Reference in New Issue
Block a user