mirror of https://github.com/python/cpython
Changed order of cleanup operations to be more sensible.
This commit is contained in:
parent
dee8dadf31
commit
e5d3bc4700
|
@ -1906,8 +1906,8 @@ class HandlerTest(BaseTest):
|
|||
r = logging.makeLogRecord({'msg': 'testing' })
|
||||
h.handle(r)
|
||||
finally:
|
||||
h.close()
|
||||
remover.join()
|
||||
h.close()
|
||||
if os.path.exists(fn):
|
||||
os.unlink(fn)
|
||||
|
||||
|
|
Loading…
Reference in New Issue