diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index d7c8d4fe428..a06deff9d6b 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)