From e5d3bc4700d01a0beb57df84cdf6033acee49e3d Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Thu, 3 May 2012 12:03:29 +0100 Subject: Changed order of cleanup operations to be more sensible. --- Lib/test/test_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index d7c8d4f..a06deff 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) -- cgit v0.12