]> granicus.if.org Git - python/commitdiff
Changed order of cleanup operations to be more sensible.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 3 May 2012 11:06:52 +0000 (12:06 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Thu, 3 May 2012 11:06:52 +0000 (12:06 +0100)
Lib/test/test_logging.py

index 42c873a9d646d5695916db79e9d94db5624afcee..16b3fb6ce0216d9ee2c593703553b598a8a635a7 100644 (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)