Commits

Anonymous committed b8c94a1

[1.2.X] Ensure that L10N formats aren't cached between tests.

Backport of r15461 from trunk.

Comments (0)

Files changed (1)

tests/regressiontests/admin_views/tests.py

     def tearDown(self):
         settings.USE_THOUSAND_SEPARATOR = self.old_USE_THOUSAND_SEPARATOR
         settings.USE_L10N = self.old_USE_L10N
+        formats.reset_format_cache()
 
     def assert_non_localized_year(self, response, year):
         """Ensure that the year is not localized with