neal.norwitz
2008-08-25 01:04:16 UTC
Author: neal.norwitz
Date: Mon Aug 25 03:04:16 2008
New Revision: 66022
Log:
Try to fix the sporadic problems on the Solaris buildbot with removing
the directories/files.
R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_posix
Modified:
python/branches/py3k/Lib/test/test_posix.py
Modified: python/branches/py3k/Lib/test/test_posix.py
==============================================================================
--- python/branches/py3k/Lib/test/test_posix.py (original)
+++ python/branches/py3k/Lib/test/test_posix.py Mon Aug 25 03:04:16 2008
@@ -24,7 +24,7 @@
fp.close()
def tearDown(self):
- os.unlink(support.TESTFN)
+ support.unlink(support.TESTFN)
def testNoArgFunctions(self):
# test posix functions which take no arguments and have
@@ -249,7 +249,7 @@
_create_and_do_getcwd(dirname)
finally:
- shutil.rmtree(base_path)
+ support.rmtree(base_path)
os.chdir(curdir)
Date: Mon Aug 25 03:04:16 2008
New Revision: 66022
Log:
Try to fix the sporadic problems on the Solaris buildbot with removing
the directories/files.
R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_posix
Modified:
python/branches/py3k/Lib/test/test_posix.py
Modified: python/branches/py3k/Lib/test/test_posix.py
==============================================================================
--- python/branches/py3k/Lib/test/test_posix.py (original)
+++ python/branches/py3k/Lib/test/test_posix.py Mon Aug 25 03:04:16 2008
@@ -24,7 +24,7 @@
fp.close()
def tearDown(self):
- os.unlink(support.TESTFN)
+ support.unlink(support.TESTFN)
def testNoArgFunctions(self):
# test posix functions which take no arguments and have
@@ -249,7 +249,7 @@
_create_and_do_getcwd(dirname)
finally:
- shutil.rmtree(base_path)
+ support.rmtree(base_path)
os.chdir(curdir)