Commit ecfcbac5 authored by Tarek Ziadé's avatar Tarek Ziadé

Fixed #8375 - test_distutils now checks what remains to be cleaned up during tearDown

parent 7b1cf0be
......@@ -63,6 +63,8 @@ class TempdirManager(object):
super().tearDown()
while self.tempdirs:
d = self.tempdirs.pop()
if not os.path.exists(d):
continue
shutil.rmtree(d, os.name in ('nt', 'cygwin'))
def mkdtemp(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment