mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-05 04:40:20 +03:00
Rename test. Fix typo.
This commit is contained in:
parent
f8137fa951
commit
6e043b3c2b
|
@ -246,7 +246,7 @@ def test_span_group_dealloc(span_group):
|
|||
|
||||
|
||||
@pytest.mark.issue(11975)
|
||||
def test_iter(doc: Doc):
|
||||
def test_typing(doc: Doc):
|
||||
span_group: SpanGroup = doc.spans["SPANS"]
|
||||
spans: List[Span] = list(span_group)
|
||||
for i, span in enumerate(span_group):
|
||||
|
|
|
@ -173,7 +173,7 @@ cdef class SpanGroup:
|
|||
def __iter__(self):
|
||||
"""
|
||||
Iterate over the spans in this SpanGroup.
|
||||
YIELDS (Span): An span in this SpanGroup.
|
||||
YIELDS (Span): A span in this SpanGroup.
|
||||
|
||||
DOCS: https://spacy.io/api/spangroup#iter
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user