Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit c2666c9a455852ef1ae8fec986d6c0fdfc2b779f 1 parent d3b38d5
@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
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.