Permalink
Browse files

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
  • Loading branch information...
1 parent d3b38d5 commit c2666c9a455852ef1ae8fec986d6c0fdfc2b779f @freakboy3742 freakboy3742 committed Feb 9, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/regressiontests/admin_views/tests.py
View
1 tests/regressiontests/admin_views/tests.py
@@ -2618,6 +2618,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

0 comments on commit c2666c9

Please sign in to comment.