summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-02-09 00:09:54 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-02-09 00:09:54 +0000
commitc2666c9a455852ef1ae8fec986d6c0fdfc2b779f (patch)
tree3b1f7933169e29f73e8d362256b05646532889a2
parentd3b38d578f41240442cb043012b0035a20eebd67 (diff)
Ensure that L10N formats aren't cached between tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--tests/regressiontests/admin_views/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/regressiontests/admin_views/tests.py b/tests/regressiontests/admin_views/tests.py
index d320db5644..acbbbfc778 100644
--- a/tests/regressiontests/admin_views/tests.py
+++ b/tests/regressiontests/admin_views/tests.py
@@ -2618,6 +2618,7 @@ class DateHierarchyTests(TestCase):
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