mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
13 lines
225 B
Python
13 lines
225 B
Python
from __future__ import unicode_literals
|
|
|
|
import pytest
|
|
|
|
from ...lang.en import English
|
|
|
|
|
|
def test_issue1612():
|
|
nlp = English()
|
|
doc = nlp('The black cat purrs.')
|
|
span = doc[1: 3]
|
|
assert span.orth_ == span.text
|