From 01cc9cd9c03c050756679a4f457b98f0dc6c30bc Mon Sep 17 00:00:00 2001 From: Pradeep Kumar Tippa Date: Fri, 9 Feb 2018 19:16:25 +0530 Subject: [PATCH] assert statement syntax fix in doc --- website/usage/_linguistic-features/_named-entities.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/usage/_linguistic-features/_named-entities.jade b/website/usage/_linguistic-features/_named-entities.jade index 9e55ba84e..0f32d1da3 100644 --- a/website/usage/_linguistic-features/_named-entities.jade +++ b/website/usage/_linguistic-features/_named-entities.jade @@ -80,7 +80,7 @@ p doc.ents = [netflix_ent] 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 | Keep in mind that you need to create a #[code Span] with the start and