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

Method setUp

Lib/test/test_poplib.py:478–483  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

476 # repeat previous tests by using poplib.POP3.stls()
477
478 def setUp(self):
479 self.server = DummyPOP3Server((HOST, PORT))
480 self.server.start()
481 self.client = poplib.POP3(self.server.host, self.server.port,
482 timeout=test_support.LOOPBACK_TIMEOUT)
483 self.client.stls()
484
485 def tearDown(self):
486 if self.client.file is not None and self.client.sock is not None:

Callers

nothing calls this directly

Calls 3

DummyPOP3ServerClass · 0.85
startMethod · 0.45
stlsMethod · 0.45

Tested by

no test coverage detected