Skip to content

Commit

Permalink
Update test for data change: add more fuzzy matches to 'New'
Browse files Browse the repository at this point in the history
  • Loading branch information
llimeht committed Nov 24, 2021
1 parent 882f16b commit 64732f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pycountry/tests/test_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ def test_country_fuzzy_search():
assert results[4] == pycountry.countries.get(alpha_2='US')
assert results[5] == pycountry.countries.get(alpha_2='CA')
assert results[6] == pycountry.countries.get(alpha_2='AU')
assert results[7] == pycountry.countries.get(alpha_2='MH')
assert results[7] == pycountry.countries.get(alpha_2='BS')
assert results[8] == pycountry.countries.get(alpha_2='TW')
assert results[9] == pycountry.countries.get(alpha_2='MH')

# bug #34, likely about capitalization that was broken
results = pycountry.countries.search_fuzzy(u'united states of america')
Expand Down

0 comments on commit 64732f5

Please sign in to comment.