[Python-checkins] cpython: support.temp_dir(): call support.rmtree() instead of shutil.rmtree()
victor.stinner
python-checkins at python.org
Thu Mar 24 13:05:16 EDT 2016
https://hg.python.org/cpython/rev/7ba59cb5c16b
changeset: 100720:7ba59cb5c16b
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Mar 24 17:42:10 2016 +0100
summary:
support.temp_dir(): call support.rmtree() instead of shutil.rmtree()
files:
Lib/test/support/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py
--- a/Lib/test/support/__init__.py
+++ b/Lib/test/support/__init__.py
@@ -902,7 +902,7 @@
yield path
finally:
if dir_created:
- shutil.rmtree(path)
+ rmtree(path)
@contextlib.contextmanager
def change_cwd(path, quiet=False):
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list