Skip to content

Commit c5b8fc0

Browse files
committed
support.temp_dir(): call support.rmtree() instead of shutil.rmtree()
1 parent e55c01c commit c5b8fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/support/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ def temp_dir(path=None, quiet=False):
902902
yield path
903903
finally:
904904
if dir_created:
905-
shutil.rmtree(path)
905+
rmtree(path)
906906

907907
@contextlib.contextmanager
908908
def change_cwd(path, quiet=False):

0 commit comments

Comments
 (0)