summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2010-11-06 04:36:28 +0000
committerÉric Araujo <merwok@netwok.org>2010-11-06 04:36:28 +0000
commit2a632c53b9f1db86a84caf5d3cc19fd3c2864988 (patch)
treeff463a4b89863885f3903992ddfdf0d453585c33
parentbf2c4ab12297f8f31fb5085a8222825c90dc1cf6 (diff)
downloadcpython-2a632c53b9f1db86a84caf5d3cc19fd3c2864988.tar.gz
Merged revisions 86239,86241 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86239 | eric.araujo | 2010-11-06 05:09:29 +0100 (sam., 06 nov. 2010) | 2 lines Fix caching error found by regrtest -R (#10229) ........ r86241 | eric.araujo | 2010-11-06 05:24:00 +0100 (sam., 06 nov. 2010) | 2 lines Add missing NEWS entry for r86239. ........
-rw-r--r--Lib/test/test_gettext.py1
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_gettext.py b/Lib/test/test_gettext.py
index 40dc61af7a..65b395b460 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 = test_support.EnvironmentVarGuard()
self.env['LANGUAGE'] = 'xx'
+ gettext._translations.clear()
def tearDown(self):
self.env.__exit__()
diff --git a/Misc/NEWS b/Misc/NEWS
index a578b8a642..21552c137c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -69,6 +69,8 @@ Core and Builtins
Library
-------
+- Issue #10229: Fix caching error in gettext.
+
- Issue #10252: Close file objects in a timely manner in distutils code and
tests. Patch by Brian Brazil, completed by Éric Araujo.