summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_support.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-03-12 20:07:01 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-03-12 20:07:01 (GMT)
commitbb185ab33253a9999e2b630e98fc9bb33e7d4eac (patch)
tree290b695a7fa586335128d6df9b179a9316f98832 /Lib/test/test_support.py
parentfc773a2d4ba3810b982e703bf8a240206369e5d1 (diff)
downloadcpython-bb185ab33253a9999e2b630e98fc9bb33e7d4eac.zip
cpython-bb185ab33253a9999e2b630e98fc9bb33e7d4eac.tar.gz
cpython-bb185ab33253a9999e2b630e98fc9bb33e7d4eac.tar.bz2
use support.rmtree instead of shutil (closes #19614)
Patch by Sean Rodman.
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r--Lib/test/test_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 5913044..cb6f84e 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -102,7 +102,7 @@ class TestSupport(unittest.TestCase):
self.assertTrue(os.path.isdir(path))
self.assertFalse(os.path.isdir(path))
finally:
- shutil.rmtree(parent_dir)
+ support.rmtree(parent_dir)
def test_temp_dir__path_none(self):
"""Test passing no path."""