From ad590feaa88f245b206daefe5743811de2ee2102 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 13 May 2017 11:36:19 +0200 Subject: [PATCH] Fix test, which imported English incorrectly --- spacy/tests/doc/test_doc_api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/spacy/tests/doc/test_doc_api.py b/spacy/tests/doc/test_doc_api.py index 6c8f61a81..064cbecfd 100644 --- a/spacy/tests/doc/test_doc_api.py +++ b/spacy/tests/doc/test_doc_api.py @@ -219,7 +219,6 @@ def test_doc_api_has_vector(en_tokenizer, text_file, text, vectors): def test_parse_tree(EN): text = 'I like New York in Autumn.' - EN = English(parser=False) doc = EN(text, tag=True) doc.from_array([HEAD], numpy.asarray([[1, 0, 1, -2, -3, -1, -5]], dtype='int32').T) # full method parse_tree(text) is a trivial composition