mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Shut up an occaisonal buildbot error due to test files being left around.
This commit is contained in:
parent
db84603760
commit
1520fe4e58
1 changed files with 8 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue