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)
 
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to