mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Fixed #8375 - test_distutils now checks what remains to be cleaned up during tearDown
This commit is contained in:
parent
7770f145b7
commit
46cd93a42f
2 changed files with 5 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue