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

This commit is contained in:
Éric Araujo 2010-11-06 04:09:29 +00:00
parent 70ec44a773
commit 37a89334da

View file

@ -75,6 +75,7 @@ class GettextBaseTest(unittest.TestCase):
fp.close()
self.env = support.EnvironmentVarGuard()
self.env['LANGUAGE'] = 'xx'
gettext._translations.clear()
def tearDown(self):
self.env.__exit__()