mirror of https://github.com/explosion/spaCy.git
remove unidecode-related test
This commit is contained in:
parent
1ba31f6229
commit
f3df736e0a
|
@ -1,18 +0,0 @@
|
||||||
# -*- coding: utf8 -*-
|
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
import pytest
|
|
||||||
|
|
||||||
from spacy.orth import asciied
|
|
||||||
|
|
||||||
|
|
||||||
def test_tilde():
|
|
||||||
string = u'hõmbre'
|
|
||||||
assert asciied(string) == b'hombre'
|
|
||||||
|
|
||||||
|
|
||||||
def test_smart_quote():
|
|
||||||
string = u'“'
|
|
||||||
assert asciied(string) == b'"'
|
|
||||||
string = u'”'
|
|
||||||
assert asciied(string) == b'"'
|
|
Loading…
Reference in New Issue