diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-20 03:20:04 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-20 03:20:04 (GMT) |
commit | e052dd873b6fbe5e076ecf686ce682c3400f2bf3 (patch) | |
tree | b98c8459da7b4ce1f9d0e98d84c324fc6ffe288d | |
parent | 90ebd3e0e9c0b244a4472ce3443984b4541adea7 (diff) | |
download | cpython-e052dd873b6fbe5e076ecf686ce682c3400f2bf3.zip cpython-e052dd873b6fbe5e076ecf686ce682c3400f2bf3.tar.gz cpython-e052dd873b6fbe5e076ecf686ce682c3400f2bf3.tar.bz2 |
Another fix for test_shutil. Martin pointed out that it breaks some build bots
-rw-r--r-- | Lib/test/test_shutil.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_shutil.py b/Lib/test/test_shutil.py index 56e928e..ee15d0e 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) |