Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb185ab

Browse files
committed
use support.rmtree instead of shutil (closes #19614)
Patch by Sean Rodman.
1 parent fc773a2 commit bb185ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_temp_dir(self):
102102
self.assertTrue(os.path.isdir(path))
103103
self.assertFalse(os.path.isdir(path))
104104
finally:
105-
shutil.rmtree(parent_dir)
105+
support.rmtree(parent_dir)
106106

107107
def test_temp_dir__path_none(self):
108108
"""Test passing no path."""

0 commit comments

Comments
 (0)