diff --git a/tests/test_asciify.py b/tests/test_asciify.py index d03af0d25..12ca88b1b 100644 --- a/tests/test_asciify.py +++ b/tests/test_asciify.py @@ -8,11 +8,11 @@ from spacy.orth import asciied def test_tilde(): string = u'hõmbre' - assert asciied(string) == u'hombre' + assert asciied(string) == b'hombre' def test_smart_quote(): string = u'“' - assert asciied(string) == '"' - string = u'”' - assert asciied(string) == '"' + assert asciied(string) == b'"' + string = b'”' + assert asciied(string) == b'"'