Skip to content

Commit

Permalink
Add yet another failing test revealed in #14.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason R. Coombs committed Jul 2, 2018
1 parent ecb6c18 commit d09bd5c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/test_fuzzy.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# coding: utf-8

from __future__ import unicode_literals

import pytest
Expand Down Expand Up @@ -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]

0 comments on commit d09bd5c

Please sign in to comment.