summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_logging.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 5f01247..54d17a3 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -109,6 +109,8 @@ class LogRecordSocketReceiver(ThreadingTCPServer):
abort = self.abort
#notify the main thread that we're about to exit
socketDataProcessed.set()
+ # close the listen socket
+ self.server_close()
def process_request(self, request, client_address):
#import threading