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

Method reaped_pair

Lib/test/test_imaplib.py:766–772  ·  view source on GitHub ↗
(self, hdlr)

Source from the content-addressed store, hash-verified

764
765 @contextmanager
766 def reaped_pair(self, hdlr):
767 with self.reaped_server(hdlr) as server:
768 client = self.imap_class(*server.server_address)
769 try:
770 yield server, client
771 finally:
772 client.logout()
773
774 @threading_helper.reap_threads
775 def test_connect(self):

Calls 2

reaped_serverMethod · 0.95
logoutMethod · 0.80

Tested by

no test coverage detected