1
0
mirror of https://github.com/jfilter/clean-text.git synced 2021-09-19 22:32:58 +03:00

choose simpler ascii example so it works with both variants

This commit is contained in:
Johannes Filter
2020-10-18 00:52:40 +02:00
parent e6a0f8212e
commit 4a2de47a59

View File

@@ -155,7 +155,7 @@ def test_zero_digits():
def test_to_ascii():
assert cleantext.to_ascii_unicode("whatéver") == "whatever"
assert cleantext.to_ascii_unicode("whatëver") == "whatever"
assert cleantext.to_ascii_unicode("Äpfel»", lang="de") == 'Äpfel"'
assert cleantext.to_ascii_unicode("Äpfel»", lang="DE") == 'Äpfel"'