tests: only check simplify() on bytes in py2 (#36515)
This commit is contained in:
parent
859683f690
commit
12094de8e4
|
@ -99,6 +99,7 @@ def test_simplify_apostrophes():
|
|||
|
||||
def test_simplify_accented():
|
||||
assert simplify(u'cliché') == 'cliche'
|
||||
if six.PY2:
|
||||
assert simplify(u'cliché'.encode('iso-8859-1')) == 'cliche'
|
||||
|
||||
def test_simplify_remove():
|
||||
|
|
Loading…
Reference in New Issue