mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
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.
This commit is contained in:
parent
9a65c89ec0
commit
482043aed6
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue