From 482043aed6988c7f32810099e4286bc1e6ab02b1 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 26 Aug 2007 06:29:57 +0000 Subject: Reap children before the test starts so hopefully SocketServer won't find any old children left around which causes an exception in collect_children() and the test to fail. --- Lib/test/test_socketserver.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index bfcdf98..dd09448 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -212,6 +212,7 @@ def test_main(): # If the import lock is held, the threads will hang. raise TestSkipped("can't run when import lock is held") + reap_children() try: testall() finally: -- cgit v0.12