From: Victor Stinner Date: Thu, 24 Mar 2016 16:42:10 +0000 (+0100) Subject: support.temp_dir(): call support.rmtree() instead of shutil.rmtree() X-Git-Tag: v3.6.0a1~350 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e40390473dc1303c550664457f5b7b2582592086;p=python support.temp_dir(): call support.rmtree() instead of shutil.rmtree() --- diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index a2ef93d5b8..7914943a82 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -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):