[Python-checkins] r73908 - python/trunk/Lib/test/test_posix.py

r.david.murray python-checkins at python.org
Thu Jul 9 20:41:03 CEST 2009


Author: r.david.murray
Date: Thu Jul  9 20:41:03 2009
New Revision: 73908

Log:
Try to fix Solaris buildbot rmtree failure in test_getcwd_long_pathnames
cleanup.  If this fix works, it means that Solaris is unique among
our platforms in what happens when shutil.rmtree is called on the
current working directory (ie: it doesn't work on Solaris, but
it does everywhere else).


Modified:
   python/trunk/Lib/test/test_posix.py

Modified: python/trunk/Lib/test/test_posix.py
==============================================================================
--- python/trunk/Lib/test/test_posix.py	(original)
+++ python/trunk/Lib/test/test_posix.py	Thu Jul  9 20:41:03 2009
@@ -267,9 +267,8 @@
                 _create_and_do_getcwd(dirname)
 
             finally:
-                # XXX: Temporarily ignore errors to see if the test gives useful failure info on Solaris buildbot
-                shutil.rmtree(base_path, ignore_errors=True)
                 os.chdir(curdir)
+                shutil.rmtree(base_path)
 
 
 def test_main():


More information about the Python-checkins mailing list