mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 04:08:09 +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:
|
||||
if token.is_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].pos == SPACE
|
||||
|
|
Loading…
Reference in New Issue
Block a user