Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e382b58

Browse files
committed
Partially revert changeset #281857369a78 to make sure threads are
reaped in all situations.
1 parent c9a1bfe commit e382b58

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

Lib/test/test_xmlrpc.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,5 +1079,15 @@ def test_xmlrpcserver_has_use_builtin_types_flag(self):
10791079
self.assertTrue(server.use_builtin_types)
10801080

10811081

1082+
@support.reap_threads
1083+
def test_main():
1084+
support.run_unittest(XMLRPCTestCase, HelperTestCase, DateTimeTestCase,
1085+
BinaryTestCase, FaultTestCase, UseBuiltinTypesTestCase,
1086+
SimpleServerTestCase, KeepaliveServerTestCase1,
1087+
KeepaliveServerTestCase2, GzipServerTestCase,
1088+
MultiPathServerTestCase, ServerProxyTestCase, FailingServerTestCase,
1089+
CGIHandlerTestCase)
1090+
1091+
10821092
if __name__ == "__main__":
1083-
support.reap_threads(unittest.main)()
1093+
test_main()

0 commit comments

Comments
 (0)