test_gettext: use support.rmtree() instead of shutil.rmtree()
This commit is contained in:
parent
0e243612f8
commit
cdb2c601db
|
@ -77,7 +77,7 @@ class GettextBaseTest(unittest.TestCase):
|
||||||
def tearDown(self):
|
def tearDown(self):
|
||||||
self.env.__exit__()
|
self.env.__exit__()
|
||||||
del self.env
|
del self.env
|
||||||
shutil.rmtree(os.path.split(LOCALEDIR)[0])
|
support.rmtree(os.path.split(LOCALEDIR)[0])
|
||||||
|
|
||||||
|
|
||||||
class GettextTestCase1(GettextBaseTest):
|
class GettextTestCase1(GettextBaseTest):
|
||||||
|
|
Loading…
Reference in New Issue