Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Backport of r15461 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fdd3bd9d15e8a25e2660236a53c4f587b4afffa4 1 parent c058dfa
@freakboy3742 freakboy3742 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  tests/regressiontests/admin_views/tests.py
View
1  tests/regressiontests/admin_views/tests.py
@@ -2426,6 +2426,7 @@ def setUp(self):
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
Please sign in to comment.
Something went wrong with that request. Please try again.