make sure server threads get cleaned up

This commit is contained in:
Benjamin Peterson 2014-12-13 16:13:24 -05:00
parent 3cda0ed062
commit 9566de18e6
1 changed files with 1 additions and 0 deletions

View File

@ -1083,6 +1083,7 @@ class TunnelTests(TestCase):
self.assertTrue(b'CONNECT destination.com' in conn.sock.data)
self.assertTrue(b'Host: destination.com' in conn.sock.data)
@support.reap_threads
def test_main(verbose=None):
support.run_unittest(HeaderTests, OfflineTest, BasicTest, TimeoutTest,
HTTPSTest, RequestBodyTest, SourceAddressTest,