MCPcopy Index your code
hub / github.com/RustPython/RustPython / reaped_pair

Method reaped_pair

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

Source from the content-addressed store, hash-verified

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

Calls 2

reaped_serverMethod · 0.95
logoutMethod · 0.80

Tested by

no test coverage detected