projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfc4a8d
)
Explicitly close the server socket.
author
Martin v. Löwis
<martin@v.loewis.de>
Sun, 29 Jan 2006 19:55:18 +0000
(19:55 +0000)
committer
Martin v. Löwis
<martin@v.loewis.de>
Sun, 29 Jan 2006 19:55:18 +0000
(19:55 +0000)
Lib/test/test_logging.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_logging.py
b/Lib/test/test_logging.py
index 5f01247e16b1d7308384265c790695662a6965f7..54d17a3f013829498af3deaa96843bae66d4282a 100644
(file)
--- 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