Skip to content

Commit c00d4b4

Browse files
committed
Merged revisions 75874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r75874 | antoine.pitrou | 2009-10-27 22:27:24 +0100 (mar., 27 oct. 2009) | 4 lines Reduce the probability of refleaks in test_socketserver. Not completely suppressed though, see issue python#7222. ........
1 parent 8c0e217 commit c00d4b4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/test/test_socketserver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import socketserver
1717

1818
import test.support
19-
from test.support import reap_children, verbose
19+
from test.support import reap_children, reap_threads, verbose
2020
from test.support import TESTFN as TEST_FILE
2121

2222
test.support.requires("network")
@@ -122,6 +122,7 @@ def handle(self):
122122
self.assertEquals(server.server_address, server.socket.getsockname())
123123
return server
124124

125+
@reap_threads
125126
def run_server(self, svrcls, hdlrbase, testfunc):
126127
server = self.make_server(self.pickaddr(svrcls.address_family),
127128
svrcls, hdlrbase)

0 commit comments

Comments
 (0)