diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-20 03:21:02 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-20 03:21:02 (GMT) |
commit | 547867e13a00d4373555e4c2ad4185195f4f4af9 (patch) | |
tree | 4508212b185ef7adc592d46e96c60a0f32ea2cbe | |
parent | 0ffdacd53bb59c15ba8517ef1164bd7890ddb565 (diff) | |
download | cpython-547867e13a00d4373555e4c2ad4185195f4f4af9.zip cpython-547867e13a00d4373555e4c2ad4185195f4f4af9.tar.gz cpython-547867e13a00d4373555e4c2ad4185195f4f4af9.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) |