test_gettext: use support.rmtree() instead of shutil.rmtree()

This commit is contained in:
Victor Stinner 2014-07-24 12:08:20 +02:00
commit c78fd52767
1 changed files with 1 additions and 1 deletions

View 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):