mirror of https://github.com/python/cpython
Changed order of cleanup operations to be more sensible.
This commit is contained in:
parent
39687ee9db
commit
89282afafb
|
@ -2360,8 +2360,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