From: Vinay Sajip Date: Thu, 3 May 2012 11:06:52 +0000 (+0100) Subject: Changed order of cleanup operations to be more sensible. X-Git-Tag: v3.3.0a4~304^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=89282afafbdc29903ff1c29ea26d5510572d494a;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 42c873a9d6..16b3fb6ce0 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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)