From: Vinay Sajip Date: Fri, 20 Feb 2004 13:19:16 +0000 (+0000) Subject: Socket handler closed prior to end of test. X-Git-Tag: v2.4a1~789 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb990588988365d6af01aba41ae88e76dcdc7933;p=python Socket handler closed prior to end of test. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index ef77e5e360..01d9fc0fce 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -463,6 +463,7 @@ def test_main_inner(): thread.join() banner("logrecv output", "begin") sys.stdout.write(sockOut.getvalue()) + sockhdlr.close() sockOut.close() banner("logrecv output", "end") sys.stdout.flush()