[Python-3000-checkins] r59067 - python/branches/py3k/Lib/test/test_shutil.py
christian.heimes
python-3000-checkins at python.org
Tue Nov 20 04:20:04 CET 2007
Author: christian.heimes
Date: Tue Nov 20 04:20:04 2007
New Revision: 59067
Modified:
python/branches/py3k/Lib/test/test_shutil.py
Log:
Another fix for test_shutil. Martin pointed out that it breaks some build bots
Modified: python/branches/py3k/Lib/test/test_shutil.py
==============================================================================
--- python/branches/py3k/Lib/test/test_shutil.py (original)
+++ python/branches/py3k/Lib/test/test_shutil.py Tue Nov 20 04:20:04 2007
@@ -113,7 +113,9 @@
):
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)
More information about the Python-3000-checkins
mailing list