diff --git a/spacy/tests/tokenizer/conftest.py b/spacy/tests/tokenizer/conftest.py index 2f1d65e99..8d842cd6d 100644 --- a/spacy/tests/tokenizer/conftest.py +++ b/spacy/tests/tokenizer/conftest.py @@ -1,3 +1,6 @@ +# coding: utf-8 +from __future__ import unicode_literals + import pytest from ...en import English diff --git a/spacy/tests/tokenizer/test_contractions.py b/spacy/tests/tokenizer/test_contractions.py index d8c0b0c79..f2c6ee37a 100644 --- a/spacy/tests/tokenizer/test_contractions.py +++ b/spacy/tests/tokenizer/test_contractions.py @@ -1,3 +1,4 @@ +# coding: utf-8 from __future__ import unicode_literals import pytest diff --git a/spacy/tests/tokenizer/test_indices.py b/spacy/tests/tokenizer/test_indices.py index 5df7bcc59..5a0dea627 100644 --- a/spacy/tests/tokenizer/test_indices.py +++ b/spacy/tests/tokenizer/test_indices.py @@ -1,3 +1,4 @@ +# coding: utf-8 """Test that token.idx correctly computes index into the original string.""" from __future__ import unicode_literals diff --git a/spacy/tests/tokenizer/test_punct.py b/spacy/tests/tokenizer/test_punct.py index d238e593e..06ff0cc8b 100644 --- a/spacy/tests/tokenizer/test_punct.py +++ b/spacy/tests/tokenizer/test_punct.py @@ -1,3 +1,4 @@ +# coding: utf-8 from __future__ import unicode_literals import pytest diff --git a/spacy/tests/tokenizer/test_whitespace.py b/spacy/tests/tokenizer/test_whitespace.py index 8ba138b0c..9dd3a19a1 100644 --- a/spacy/tests/tokenizer/test_whitespace.py +++ b/spacy/tests/tokenizer/test_whitespace.py @@ -1,3 +1,4 @@ +# coding: utf-8 """Test that tokens are created correctly for whitespace."""