diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-08-25 01:04:16 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-08-25 01:04:16 (GMT) |
commit | c34177ccb2576df43ff3c772fe565a7439e32d3a (patch) | |
tree | ebf5ddd103125651a962d35244824d6b59e2e7a6 /Lib/test | |
parent | 6ae2eb268d55854eafe36fa707ffed980a277d06 (diff) | |
download | cpython-c34177ccb2576df43ff3c772fe565a7439e32d3a.zip cpython-c34177ccb2576df43ff3c772fe565a7439e32d3a.tar.gz cpython-c34177ccb2576df43ff3c772fe565a7439e32d3a.tar.bz2 |
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
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_posix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 5b5198d..59f8c41 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -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) |