From d09bd5c79ad4490e15acbac7f13b882c15a7eaba Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 2 Jul 2018 11:00:37 -0400 Subject: [PATCH] Add yet another failing test revealed in #14. --- test/test_fuzzy.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/test_fuzzy.py b/test/test_fuzzy.py index 50ee00c..3794472 100644 --- a/test/test_fuzzy.py +++ b/test/test_fuzzy.py @@ -1,3 +1,5 @@ +# coding: utf-8 + from __future__ import unicode_literals import pytest @@ -25,6 +27,11 @@ def test_soundex_Test(): assert fuzzy.Soundex(8)('Test') == 'T23' +@pytest.mark.xfail(reason="issue #14") +def test_soundex_non_ascii(): + assert fuzzy.Soundex(8)('Jéroboam') == 'J615' + + def test_DMetaphone(): m = fuzzy.DMetaphone() assert m("mayer") == [b'MR', None]