diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-03-12 20:07:01 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-03-12 20:07:01 (GMT) |
commit | bb185ab33253a9999e2b630e98fc9bb33e7d4eac (patch) | |
tree | 290b695a7fa586335128d6df9b179a9316f98832 /Lib | |
parent | fc773a2d4ba3810b982e703bf8a240206369e5d1 (diff) | |
download | cpython-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')
-rw-r--r-- | Lib/test/test_support.py | 2 |
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.""" |