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():