diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py index 1d34f90784..9501849e09 100644 --- a/tests/i18n/tests.py +++ b/tests/i18n/tests.py @@ -43,6 +43,7 @@ extended_locale_paths = settings.LOCALE_PATHS + ( os.path.join(here, 'other', 'locale'), ) + @contextmanager def patch_formats(lang, **settings): from django.utils.formats import _format_cache