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

This commit is contained in:
Victor Stinner 2014-07-24 12:07:45 +02:00
parent 0e243612f8
commit cdb2c601db
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):