mirror of https://github.com/explosion/spaCy.git
* Fix test_token_references test
This commit is contained in:
parent
15123329b1
commit
8a4c9c33f1
|
@ -22,7 +22,7 @@ def test_orphan():
|
||||||
dummy = get_orphan_token('Load and flush the memory', 0)
|
dummy = get_orphan_token('Load and flush the memory', 0)
|
||||||
dummy = get_orphan_token('Load again...', 0)
|
dummy = get_orphan_token('Load again...', 0)
|
||||||
assert orphan.orth_ == 'orphan'
|
assert orphan.orth_ == 'orphan'
|
||||||
assert orphan.pos_ == 'ADJ'
|
assert orphan.pos_ == 'NOUN'
|
||||||
assert orphan.head.orth_ == 'token'
|
assert orphan.head.orth_ == 'token'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue