Shut up an occaisonal buildbot error due to test files being left around.

This commit is contained in:
Collin Winter 2007-03-31 19:31:34 +00:00
parent db84603760
commit 1520fe4e58
1 changed files with 8 additions and 0 deletions

View File

@ -373,6 +373,14 @@ class WalkTests(unittest.TestCase):
class MakedirTests (unittest.TestCase):
def setUp(self):
try:
os.rmdir(test_support.TESTFN)
except OSError:
pass
try:
os.unlink(test_support.TESTFN)
except OSError:
pass
os.mkdir(test_support.TESTFN)
def test_makedir(self):