Commit 547867e1 authored by Christian Heimes's avatar Christian Heimes

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

parent 0ffdacd5
......@@ -113,7 +113,9 @@ class TestShutil(unittest.TestCase):
):
if os.path.exists(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):
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