mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #25753 -- Reset l10n cache when format settings change
Thanks Jaap Roes for the initial patch.
This commit is contained in:
@@ -186,9 +186,6 @@ class AdminViewBasicTestCase(TestCase):
|
||||
def setUp(self):
|
||||
self.client.force_login(self.superuser)
|
||||
|
||||
def tearDown(self):
|
||||
formats.reset_format_cache()
|
||||
|
||||
def assertContentBefore(self, response, text1, text2, failing_msg=None):
|
||||
"""
|
||||
Testing utility asserting that text1 appears before text2 in response
|
||||
@@ -5301,9 +5298,6 @@ class DateHierarchyTests(TestCase):
|
||||
def setUp(self):
|
||||
self.client.force_login(self.superuser)
|
||||
|
||||
def tearDown(self):
|
||||
formats.reset_format_cache()
|
||||
|
||||
def assert_non_localized_year(self, response, year):
|
||||
"""
|
||||
The year is not localized with USE_THOUSAND_SEPARATOR (#15234).
|
||||
|
||||
Reference in New Issue
Block a user