From: Vinay Sajip Date: Thu, 3 May 2012 11:03:29 +0000 (+0100) Subject: Changed order of cleanup operations to be more sensible. X-Git-Tag: v2.7.4rc1~854 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5d3bc4700d01a0beb57df84cdf6033acee49e3d;p=python Changed order of cleanup operations to be more sensible. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index d7c8d4fe42..a06deff9d6 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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)