diff options
-rw-r--r-- | tests/conftest.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index cda2aaf..2ae04fc 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -19,11 +19,8 @@ hypothesis.settings.register_profile( def load_locale(x: str) -> None: - """Convenience to load a locale, trying ISO8859-1 first.""" - try: - locale.setlocale(locale.LC_ALL, str("{}.ISO8859-1".format(x))) - except locale.Error: - locale.setlocale(locale.LC_ALL, str("{}.UTF-8".format(x))) + """Convenience to load a locale.""" + locale.setlocale(locale.LC_ALL, str("{}.UTF-8".format(x))) @pytest.fixture() |