From 1206d7fa5793a86ffadeacb2e9280b11d474a58a Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Thu, 1 Dec 2016 21:22:16 +0100 Subject: Refs #25753 -- Reset l10n cache when format settings change Thanks Jaap Roes for the initial patch. --- tests/admin_views/tests.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/admin_views') diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index b65439f8ac..2d86487e51 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -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). -- cgit v1.3