use support.rmtree instead of shutil (closes #19614)
Patch by Sean Rodman.
This commit is contained in:
parent
fc773a2d4b
commit
bb185ab332
@ -102,7 +102,7 @@ class TestSupport(unittest.TestCase):
|
||||
self.assertTrue(os.path.isdir(path))
|
||||
self.assertFalse(os.path.isdir(path))
|
||||
finally:
|
||||
shutil.rmtree(parent_dir)
|
||||
support.rmtree(parent_dir)
|
||||
|
||||
def test_temp_dir__path_none(self):
|
||||
"""Test passing no path."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user