]> granicus.if.org Git - python/commitdiff
test_gettext: use support.rmtree() instead of shutil.rmtree()
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 24 Jul 2014 10:07:45 +0000 (12:07 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 24 Jul 2014 10:07:45 +0000 (12:07 +0200)
Lib/test/test_gettext.py

index 5456948ca4b0488cc92c0d50dbebf673794eff56..abb312f06052c525f4bdc314744bb0c20b4c1446 100644 (file)
@@ -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):