summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-07-24 12:08:20 +0200
committerVictor Stinner <victor.stinner@gmail.com>2014-07-24 12:08:20 +0200
commitc78fd527670c312cb35fe959b42f350046424981 (patch)
treee66ee955b2daab08687dccc16c65fd250bb48840
parent216a84b043d73c02662eb0da060f2270c563401a (diff)
parentcdb2c601db078e0af2fcca49341a7d17d603e500 (diff)
downloadcpython-git-c78fd527670c312cb35fe959b42f350046424981.tar.gz
test_gettext: use support.rmtree() instead of shutil.rmtree()
-rw-r--r--Lib/test/test_gettext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_gettext.py b/Lib/test/test_gettext.py
index 5456948ca4..abb312f060 100644
--- a/Lib/test/test_gettext.py
+++ b/Lib/test/test_gettext.py
@@ -77,7 +77,7 @@ class GettextBaseTest(unittest.TestCase):
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):