Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
Russell Keith-Magee authored February 09, 2011
1  tests/regressiontests/admin_views/tests.py
@@ -2426,6 +2426,7 @@ def setUp(self):
2426 2426
     def tearDown(self):
2427 2427
         settings.USE_THOUSAND_SEPARATOR = self.old_USE_THOUSAND_SEPARATOR
2428 2428
         settings.USE_L10N = self.old_USE_L10N
  2429
+        formats.reset_format_cache()
2429 2430
 
2430 2431
     def assert_non_localized_year(self, response, year):
2431 2432
         """Ensure that the year is not localized with

0 notes on commit fdd3bd9

Please sign in to comment.
Something went wrong with that request. Please try again.