mirror of
https://github.com/python/cpython.git
synced 2026-05-11 15:12:20 -04:00
use support.rmtree instead of shutil (closes #19614)
Patch by Sean Rodman.
This commit is contained in:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user