From: Benjamin Peterson Date: Wed, 12 Mar 2014 20:07:01 +0000 (-0500) Subject: use support.rmtree instead of shutil (closes #19614) X-Git-Tag: v3.4.1rc1~233^2~49^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bb185ab33253a9999e2b630e98fc9bb33e7d4eac;p=thirdparty%2FPython%2Fcpython.git 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 5913044877c1..cb6f84e73dbb 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."""