mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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
This commit is contained in:
parent
6ae2eb268d
commit
c34177ccb2
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ class PosixTester(unittest.TestCase):
|
|||
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 @@ class PosixTester(unittest.TestCase):
|
|||
_create_and_do_getcwd(dirname)
|
||||
|
||||
finally:
|
||||
shutil.rmtree(base_path)
|
||||
support.rmtree(base_path)
|
||||
os.chdir(curdir)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue