summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-06 04:09:29 (GMT)
committerÉric Araujo <merwok@netwok.org>2010-11-06 04:09:29 (GMT)
commit37a89334da1fbe5b30f5a03a97b8f8c2a59adc1b (patch)
tree7b346b5b1567d6c1fc96297fa32f4017597597a9 /Lib
parent70ec44a7739e67dbdaa8ab9b0a59a9444153112a (diff)
downloadcpython-37a89334da1fbe5b30f5a03a97b8f8c2a59adc1b.zip
cpython-37a89334da1fbe5b30f5a03a97b8f8c2a59adc1b.tar.gz
cpython-37a89334da1fbe5b30f5a03a97b8f8c2a59adc1b.tar.bz2
Fix caching error found by regrtest -R (#10229)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_gettext.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_gettext.py b/Lib/test/test_gettext.py
index 69ffcb7..634c607 100644
--- a/Lib/test/test_gettext.py
+++ b/Lib/test/test_gettext.py
@@ -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__()