mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix caching error found by regrtest -R (#10229)
This commit is contained in:
parent
70ec44a773
commit
37a89334da
1 changed files with 1 additions and 0 deletions
|
@ -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__()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue