mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 09:56:28 +03:00
* Fix test for whitespace
This commit is contained in:
parent
e89069dcae
commit
82d011ac43
|
@ -35,6 +35,6 @@ def test_return_char(EN):
|
||||||
for token in tokens:
|
for token in tokens:
|
||||||
if token.is_space:
|
if token.is_space:
|
||||||
assert token.pos == SPACE
|
assert token.pos == SPACE
|
||||||
assert tokens[3] == '\r\n\r\n'
|
assert tokens[3].text == '\r\n\r\n'
|
||||||
assert tokens[3].is_space
|
assert tokens[3].is_space
|
||||||
assert tokens[3].pos == SPACE
|
assert tokens[3].pos == SPACE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user