assert statement syntax fix in doc

This commit is contained in:
Pradeep Kumar Tippa 2018-02-09 19:16:25 +05:30
parent a78062e466
commit 01cc9cd9c0
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ p
doc.ents = [netflix_ent] doc.ents = [netflix_ent]
ents = [(e.text, e.start_char, e.end_char, e.label_) for e in doc.ents] ents = [(e.text, e.start_char, e.end_char, e.label_) for e in doc.ents]
assert ents = [(u'Netflix', 0, 7, u'ORG')] assert ents == [(u'Netflix', 0, 7, u'ORG')]
p p
| Keep in mind that you need to create a #[code Span] with the start and | Keep in mind that you need to create a #[code Span] with the start and