mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Partially revert changeset #281857369a78 to make sure threads are
reaped in all situations.
This commit is contained in:
parent
c9a1bfed5d
commit
e382b5868a
1 changed files with 11 additions and 1 deletions
|
@ -1079,5 +1079,15 @@ class UseBuiltinTypesTestCase(unittest.TestCase):
|
|||
self.assertTrue(server.use_builtin_types)
|
||||
|
||||
|
||||
@support.reap_threads
|
||||
def test_main():
|
||||
support.run_unittest(XMLRPCTestCase, HelperTestCase, DateTimeTestCase,
|
||||
BinaryTestCase, FaultTestCase, UseBuiltinTypesTestCase,
|
||||
SimpleServerTestCase, KeepaliveServerTestCase1,
|
||||
KeepaliveServerTestCase2, GzipServerTestCase,
|
||||
MultiPathServerTestCase, ServerProxyTestCase, FailingServerTestCase,
|
||||
CGIHandlerTestCase)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
support.reap_threads(unittest.main)()
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue