diff options
Diffstat (limited to 'Lib/test/test_socketserver.py')
-rw-r--r-- | Lib/test/test_socketserver.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index 43ce55c..ce6e1f0 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -16,7 +16,7 @@ import unittest import socketserver import test.support -from test.support import reap_children, verbose +from test.support import reap_children, reap_threads, verbose from test.support import TESTFN as TEST_FILE test.support.requires("network") @@ -122,6 +122,7 @@ class SocketServerTest(unittest.TestCase): self.assertEquals(server.server_address, server.socket.getsockname()) return server + @reap_threads def run_server(self, svrcls, hdlrbase, testfunc): server = self.make_server(self.pickaddr(svrcls.address_family), svrcls, hdlrbase) |