[Python-checkins] r59068 - python/trunk/Lib/test/test_shutil.py

christian.heimes python-checkins at python.org
Tue Nov 20 04:21:02 CET 2007


Author: christian.heimes
Date: Tue Nov 20 04:21:02 2007
New Revision: 59068
Modified:
 python/trunk/Lib/test/test_shutil.py
Log:
Another fix for test_shutil. Martin pointed out that it breaks some build bots
Modified: python/trunk/Lib/test/test_shutil.py
==============================================================================
--- python/trunk/Lib/test/test_shutil.py	(original)
+++ python/trunk/Lib/test/test_shutil.py	Tue Nov 20 04:21:02 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-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /