diff Lib/test/test_logging.py @ 36423:29bfbb588d93 legacy-trunk

Explicitly close the server socket.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 29 Jan 2006 19:55:18 +0000
parents 315f4407ab12
children 23fe47e9337d
line wrap: on
line diff
--- a/Lib/test/test_logging.py	Sun Jan 29 19:46:23 2006 +0000
+++ b/Lib/test/test_logging.py	Sun Jan 29 19:55:18 2006 +0000
@@ -109,6 +109,8 @@
             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