Kaydet (Commit) b0c828ae authored tarafından R. David Murray's avatar R. David Murray

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).
üst 6fcf7cae
......@@ -267,9 +267,8 @@ class PosixTester(unittest.TestCase):
_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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment