[Python-checkins] cpython (merge 3.4 -> default): test_gettext: use support.rmtree() instead of shutil.rmtree()
victor.stinner
python-checkins at python.org
Thu Jul 24 12:08:33 CEST 2014
http://hg.python.org/cpython/rev/85b213df0524
changeset: 91823:85b213df0524
parent: 91821:715675393032
parent: 91822:9cc55d7ef922
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Jul 24 12:08:20 2014 +0200
summary:
test_gettext: use support.rmtree() instead of shutil.rmtree()
files:
Lib/test/test_gettext.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_gettext.py b/Lib/test/test_gettext.py
--- a/Lib/test/test_gettext.py
+++ b/Lib/test/test_gettext.py
@@ -77,7 +77,7 @@
def tearDown(self):
self.env.__exit__()
del self.env
- shutil.rmtree(os.path.split(LOCALEDIR)[0])
+ support.rmtree(os.path.split(LOCALEDIR)[0])
class GettextTestCase1(GettextBaseTest):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list