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' })
|
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…
Reference in New Issue