Kaydet (Commit) 482043ae authored tarafından Neal Norwitz's avatar Neal Norwitz

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.
üst 9a65c89e
...@@ -212,6 +212,7 @@ def test_main(): ...@@ -212,6 +212,7 @@ def test_main():
# If the import lock is held, the threads will hang. # If the import lock is held, the threads will hang.
raise TestSkipped("can't run when import lock is held") raise TestSkipped("can't run when import lock is held")
reap_children()
try: try:
testall() testall()
finally: finally:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment