Kaydet (Commit) e052dd87 authored tarafından Christian Heimes's avatar Christian Heimes

Another fix for test_shutil. Martin pointed out that it breaks some build bots

üst 90ebd3e0
...@@ -113,7 +113,9 @@ class TestShutil(unittest.TestCase): ...@@ -113,7 +113,9 @@ class TestShutil(unittest.TestCase):
): ):
if os.path.exists(path): if os.path.exists(path):
os.remove(path) os.remove(path)
for path in (src_dir, os.path.join(dst_dir, os.path.pardir)): for path in (src_dir,
os.path.abspath(os.path.join(dst_dir, os.path.pardir))
):
if os.path.exists(path): if os.path.exists(path):
shutil.rmtree(path) shutil.rmtree(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