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

Method test_simple_with_statement

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

Source from the content-addressed store, hash-verified

1055
1056 @threading_helper.reap_threads
1057 def test_simple_with_statement(self):
1058 # simplest call
1059 with self.reaped_server(SimpleIMAPHandler) as server:
1060 with self.imap_class(*server.server_address):
1061 pass
1062
1063 @threading_helper.reap_threads
1064 def test_with_statement(self):

Callers

nothing calls this directly

Calls 1

reaped_serverMethod · 0.95

Tested by

no test coverage detected