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

Method setUp

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

Source from the content-addressed store, hash-verified

261 self.assertStartsWith(resp, b"+OK")
262
263 def setUp(self):
264 self.server = DummyPOP3Server((HOST, PORT))
265 self.server.start()
266 self.client = poplib.POP3(self.server.host, self.server.port,
267 timeout=test_support.LOOPBACK_TIMEOUT)
268
269 def tearDown(self):
270 self.client.close()

Callers

nothing calls this directly

Calls 2

DummyPOP3ServerClass · 0.85
startMethod · 0.45

Tested by

no test coverage detected