diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-24 16:42:10 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-24 16:42:10 (GMT) |
commit | e40390473dc1303c550664457f5b7b2582592086 (patch) | |
tree | 036938f66ce0b07bd78f4692758826a4ddd3f6d2 /Lib/test | |
parent | 3899b549e3d1acb1f0f7bc5d226cc3632675d36d (diff) | |
download | cpython-e40390473dc1303c550664457f5b7b2582592086.zip cpython-e40390473dc1303c550664457f5b7b2582592086.tar.gz cpython-e40390473dc1303c550664457f5b7b2582592086.tar.bz2 |
support.temp_dir(): call support.rmtree() instead of shutil.rmtree()
Diffstat (limited to 'Lib/test')
-rw-r--r-- | 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 index a2ef93d..7914943 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): |