Commit e4039047 authored by Victor Stinner's avatar Victor Stinner

support.temp_dir(): call support.rmtree() instead of shutil.rmtree()

parent 3899b549
......@@ -902,7 +902,7 @@ def temp_dir(path=None, quiet=False):
yield path
finally:
if dir_created:
shutil.rmtree(path)
rmtree(path)
@contextlib.contextmanager
def change_cwd(path, quiet=False):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment