From 8fecedac3aa80eaf3d0d2cc77e31e5b0ee63eeb3 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Thu, 12 Jan 2017 02:16:37 +0100 Subject: [PATCH] Tidy up --- spacy/tests/unit/test_attrs.py | 3 +++ spacy/tests/unit/test_parser.py | 5 ++--- spacy/tests/unit/test_tokenizer.py | 6 ++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/spacy/tests/unit/test_attrs.py b/spacy/tests/unit/test_attrs.py index 22e3e8ce9..9456ef1fa 100644 --- a/spacy/tests/unit/test_attrs.py +++ b/spacy/tests/unit/test_attrs.py @@ -1,3 +1,6 @@ +# coding: utf-8 +from __future__ import unicode_literals + from ...attrs import * diff --git a/spacy/tests/unit/test_parser.py b/spacy/tests/unit/test_parser.py index 78bfad293..c90ad41da 100644 --- a/spacy/tests/unit/test_parser.py +++ b/spacy/tests/unit/test_parser.py @@ -1,11 +1,10 @@ -# -*- coding: utf-8 -*- - +# coding: utf-8 from __future__ import unicode_literals import pytest import numpy -from spacy.attrs import HEAD, DEP +from ...attrs import HEAD, DEP @pytest.mark.models diff --git a/spacy/tests/unit/test_tokenizer.py b/spacy/tests/unit/test_tokenizer.py index b6fbfd855..f062f94e3 100644 --- a/spacy/tests/unit/test_tokenizer.py +++ b/spacy/tests/unit/test_tokenizer.py @@ -1,10 +1,12 @@ +# coding: utf-8 from __future__ import unicode_literals -import pytest -import re from ...vocab import Vocab from ...tokenizer import Tokenizer +import re +import pytest + @pytest.fixture def vocab():