summaryrefslogtreecommitdiff
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-07-09 18:41:03 +0000
committerR. David Murray <rdmurray@bitdance.com>2009-07-09 18:41:03 +0000
commitb0c828ae4a18591b135357c47b1baeecb02f3a5e (patch)
treeedf6b94e5603675430d00f95ac21db40a13e6585 /Lib/test/test_posix.py
parent6fcf7cae5c78a9a9e222851e63cf7dc37721b187 (diff)
downloadcpython-git-b0c828ae4a18591b135357c47b1baeecb02f3a5e.tar.gz
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).
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r--Lib/test/test_posix.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
index 3a3bc38a40..dc50e21ca4 100644
--- a/Lib/test/test_posix.py
+++ b/Lib/test/test_posix.py
@@ -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():