[Python-checkins] r86239 - python/branches/py3k/Lib/test/test_gettext.py

eric.araujo python-checkins at python.org
Sat Nov 6 05:09:29 CET 2010


Author: eric.araujo
Date: Sat Nov  6 05:09:29 2010
New Revision: 86239

Log:
Fix caching error found by regrtest -R (#10229)


Modified:
   python/branches/py3k/Lib/test/test_gettext.py

Modified: python/branches/py3k/Lib/test/test_gettext.py
==============================================================================
--- python/branches/py3k/Lib/test/test_gettext.py	(original)
+++ python/branches/py3k/Lib/test/test_gettext.py	Sat Nov  6 05:09:29 2010
@@ -75,6 +75,7 @@
         fp.close()
         self.env = support.EnvironmentVarGuard()
         self.env['LANGUAGE'] = 'xx'
+        gettext._translations.clear()
 
     def tearDown(self):
         self.env.__exit__()


More information about the Python-checkins mailing list