From 89282afafbdc29903ff1c29ea26d5510572d494a Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Thu, 3 May 2012 12:06:52 +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 42c873a..16b3fb6 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) -- cgit v0.12