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

Method setUp

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

Source from the content-addressed store, hash-verified

449 # repeat previous tests by using poplib.POP3_SSL
450
451 def setUp(self):
452 self.server = DummyPOP3Server((HOST, PORT))
453 self.server.handler = DummyPOP3_SSLHandler
454 self.server.start()
455 self.client = poplib.POP3_SSL(self.server.host, self.server.port)
456
457 def test__all__(self):
458 self.assertIn('POP3_SSL', poplib.__all__)

Callers

nothing calls this directly

Calls 2

DummyPOP3ServerClass · 0.85
startMethod · 0.45

Tested by

no test coverage detected