From: Christian Heimes Date: Tue, 20 Nov 2007 03:20:04 +0000 (+0000) Subject: Another fix for test_shutil. Martin pointed out that it breaks some build bots X-Git-Tag: v3.0a2~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e052dd873b6fbe5e076ecf686ce682c3400f2bf3;p=python Another fix for test_shutil. Martin pointed out that it breaks some build bots --- diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index 56e928e436..ee15d0e195 100644 --- a/Lib/test/test_shutil.py +++ b/Lib/test/test_shutil.py @@ -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)