From 9b62639d198089c7d0708453005060c58359aac2 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Wed, 27 Feb 2019 14:24:55 +0100 Subject: [PATCH] Auto-format [ci skip] --- spacy/tests/test_gold.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spacy/tests/test_gold.py b/spacy/tests/test_gold.py index 21024312c..d370eac53 100644 --- a/spacy/tests/test_gold.py +++ b/spacy/tests/test_gold.py @@ -63,8 +63,8 @@ def test_biluo_spans(en_tokenizer): assert spans[1].text == "London" assert spans[1].label_ == "GPE" + def test_gold_ner_missing_tags(en_tokenizer): doc = en_tokenizer("I flew to Silicon Valley via London.") biluo_tags = [None, "O", "O", "B-LOC", "L-LOC", "O", "U-GPE", "O"] - gold = GoldParse(doc, entities=biluo_tags) - + gold = GoldParse(doc, entities=biluo_tags) # noqa: F841