[Python-checkins] cpython (3.4): test_gettext: use support.rmtree() instead of shutil.rmtree()
victor.stinner
python-checkins at python.org
Thu Jul 24 12:08:17 CEST 2014
http://hg.python.org/cpython/rev/9cc55d7ef922
changeset: 91822:9cc55d7ef922
branch: 3.4
parent: 91820:e6be82fbc025
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Jul 24 12:07:45 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