[Python-checkins] r60535 - python/trunk/Lib/test/test_socketserver.py
georg.brandl
python-checkins at python.org
Sun Feb 3 01:04:51 CET 2008
Author: georg.brandl
Date: Sun Feb 3 01:04:50 2008
New Revision: 60535
Modified:
python/trunk/Lib/test/test_socketserver.py
Log:
Wait for a delay before reaping children -- this should fix the
test_socketserver failures on several platforms.
Modified: python/trunk/Lib/test/test_socketserver.py
==============================================================================
--- python/trunk/Lib/test/test_socketserver.py (original)
+++ python/trunk/Lib/test/test_socketserver.py Sun Feb 3 01:04:50 2008
@@ -125,6 +125,7 @@
self.test_files = []
def tearDown(self):
+ time.sleep(DELAY)
reap_children()
for fn in self.test_files:
@@ -209,7 +210,7 @@
MyStreamHandler, self.stream_examine)
def test_UDPServers(self):
- # Test SocketServer.UPDServer
+ # Test SocketServer.UDPServer
servers = [SocketServer.UDPServer,
SocketServer.ThreadingUDPServer]
if HAVE_FORKING:
More information about the Python-checkins
mailing list