commit | bb185ab33253a9999e2b630e98fc9bb33e7d4eac | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Mar 12 15:07:01 2014 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Mar 12 15:07:01 2014 -0500 |
tree | 290b695a7fa586335128d6df9b179a9316f98832 | |
parent | fc773a2d4ba3810b982e703bf8a240206369e5d1 [diff] |
use support.rmtree instead of shutil (closes #19614) Patch by Sean Rodman.
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 @@ 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."""