diff --git a/tests/test_localedata.py b/tests/test_localedata.py index 17ecd6392..80dd118c4 100644 --- a/tests/test_localedata.py +++ b/tests/test_localedata.py @@ -72,3 +72,7 @@ def test_merge(): d = {1: 'foo', 3: 'baz'} localedata.merge(d, {1: 'Foo', 2: 'Bar'}) assert d == {1: 'Foo', 2: 'Bar', 3: 'baz'} + +def test_locale_identification(): + for l in localedata.locale_identifiers(): + assert localedata.exists(l)