MCPcopy Index your code
hub / github.com/python/cpython / test_connect

Method test_connect

Lib/test/test_imaplib.py:775–778  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

773
774 @threading_helper.reap_threads
775 def test_connect(self):
776 with self.reaped_server(SimpleIMAPHandler) as server:
777 client = self.imap_class(*server.server_address)
778 client.shutdown()
779
780 @threading_helper.reap_threads
781 def test_bracket_flags(self):

Callers

nothing calls this directly

Calls 2

reaped_serverMethod · 0.95
shutdownMethod · 0.45

Tested by

no test coverage detected