mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
use support.rmtree instead of shutil (closes #19614)
Patch by Sean Rodman.
This commit is contained in:
parent
fc773a2d4b
commit
bb185ab332
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue