]> granicus.if.org Git - python/commitdiff
Merged revisions 73913 via svnmerge from
authorR. David Murray <rdmurray@bitdance.com>
Thu, 9 Jul 2009 20:31:08 +0000 (20:31 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Thu, 9 Jul 2009 20:31:08 +0000 (20:31 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r73913 | r.david.murray | 2009-07-09 16:12:31 -0400 (Thu, 09 Jul 2009) | 18 lines

  Merged revisions 73907-73908 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines

    Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see
    if the test gives useful failure info on Solaris buildbot.
  ........
    r73908 | r.david.murray | 2009-07-09 14:41:03 -0400 (Thu, 09 Jul 2009) | 6 lines

    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).
  ........
................

Lib/test/test_posix.py

index 8d1bb59453aa4768ebc75d55e779b2085ef7f8ce..73ad95ea3c6f073a0654cfd312afc2c4b8a57f9b 100644 (file)
@@ -248,8 +248,8 @@ class PosixTester(unittest.TestCase):
                 _create_and_do_getcwd(dirname)
 
             finally:
-                support.rmtree(base_path)
                 os.chdir(curdir)
+                support.rmtree(base_path)
 
 
 def test_main():