Commit 46cd93a4 authored by Tarek Ziadé's avatar Tarek Ziadé

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

parent 7770f145
......@@ -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):
......
......@@ -312,6 +312,9 @@ C-API
Library
-------
- Issue #8375: test_distutils now checks if the temporary directory are still
present before it cleans them.
- Issue #8374: Update the internal alias table in the :mod:`locale` module
to cover recent locale changes and additions.
......
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