From 1d5f20fdda20be0311db635b50916c98771d3098 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 7 Jun 2015 16:55:11 +0200 Subject: [PATCH] * Move nlp variable from global scope --- tests/spans/test_span.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spans/test_span.py b/tests/spans/test_span.py index 99b96838a..720e921e8 100644 --- a/tests/spans/test_span.py +++ b/tests/spans/test_span.py @@ -5,11 +5,11 @@ from spacy.en import English import pytest -EN = English() @pytest.fixture def doc(): + EN = English() return EN('This is a sentence. This is another sentence. And a third.')