diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-26 06:29:57 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-08-26 06:29:57 +0000 |
commit | 482043aed6988c7f32810099e4286bc1e6ab02b1 (patch) | |
tree | b5a1be961bd6bd476d0412f032b9549774676be7 /Lib/test | |
parent | 9a65c89ec0d71c6c61f90886e2457186cd06affa (diff) | |
download | cpython-git-482043aed6988c7f32810099e4286bc1e6ab02b1.tar.gz |
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.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_socketserver.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index bfcdf98a5c..dd094489da 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: |