diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 42c873a9d64..16b3fb6ce02 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)