mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Changed order of cleanup operations to be more sensible.
This commit is contained in:
parent
39687ee9db
commit
89282afafb
1 changed files with 1 additions and 1 deletions
|
|
@ -2360,8 +2360,8 @@ class HandlerTest(BaseTest):
|
||||||
r = logging.makeLogRecord({'msg': 'testing' })
|
r = logging.makeLogRecord({'msg': 'testing' })
|
||||||
h.handle(r)
|
h.handle(r)
|
||||||
finally:
|
finally:
|
||||||
h.close()
|
|
||||||
remover.join()
|
remover.join()
|
||||||
|
h.close()
|
||||||
if os.path.exists(fn):
|
if os.path.exists(fn):
|
||||||
os.unlink(fn)
|
os.unlink(fn)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue