]> granicus.if.org Git - python/commitdiff
Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
authorR. David Murray <rdmurray@bitdance.com>
Thu, 9 Jul 2009 16:17:30 +0000 (16:17 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Thu, 9 Jul 2009 16:17:30 +0000 (16:17 +0000)
if the test gives useful failure info on Solaris buildbot.

Lib/test/test_posix.py

index a96309db0eafda8f28fd561556ea18f730f9b05a..3a3bc38a40fc6209fe85e449e73d2c5c2423c3d2 100644 (file)
@@ -267,7 +267,8 @@ class PosixTester(unittest.TestCase):
                 _create_and_do_getcwd(dirname)
 
             finally:
-                shutil.rmtree(base_path)
+                # 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)