summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-12-13 21:13:24 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-12-13 21:13:24 (GMT)
commit9566de18e60268c0899c797292dc6c467f6f6531 (patch)
treea17df9d3c9a95d5c8e9e798c356c9e516220710b /Lib/test
parent3cda0ed062892c46cbae43989ff59399e8042f58 (diff)
downloadcpython-9566de18e60268c0899c797292dc6c467f6f6531.zip
cpython-9566de18e60268c0899c797292dc6c467f6f6531.tar.gz
cpython-9566de18e60268c0899c797292dc6c467f6f6531.tar.bz2
make sure server threads get cleaned up
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_httplib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index d874339..1456de3 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -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,