diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-03-12 15:07:01 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-03-12 15:07:01 -0500 |
commit | 1be6443f3829e295401b2955e2e346e6d9120dcd (patch) | |
tree | dfb7d88e99e4a5ac8ebf9c967268d1c3293776c2 /Lib/test/test_support.py | |
parent | dc4f601442495eb3919e28f64b230424789a0389 (diff) | |
download | cpython-1be6443f3829e295401b2955e2e346e6d9120dcd.tar.gz |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 5913044877..cb6f84e73d 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.""" |