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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e40390473dc1303c550664457f5b7b2582592086;p=thirdparty%2FPython%2Fcpython.git 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 a2ef93d5b888..7914943a82ee 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):