Changed order of cleanup operations to be more sensible.

This commit is contained in:
Vinay Sajip 2012-05-03 12:06:52 +01:00
parent 39687ee9db
commit 89282afafb
1 changed files with 1 additions and 1 deletions

View File

@ -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)