Commit 37f27749 authored by Benjamin Peterson's avatar Benjamin Peterson

use support.rmtree instead of shutil (closes #19614)

Patch by Sean Rodman.
parent 279cb430
......@@ -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."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment