test_gettext: use support.rmtree() instead of shutil.rmtree()
This commit is contained in:
commit
c78fd52767
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue