mirror of https://github.com/python/cpython
Shut up an occaisonal buildbot error due to test files being left around.
This commit is contained in:
parent
db84603760
commit
1520fe4e58
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue