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

Method tearDown

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

Source from the content-addressed store, hash-verified

267 timeout=test_support.LOOPBACK_TIMEOUT)
268
269 def tearDown(self):
270 self.client.close()
271 self.server.stop()
272 # Explicitly clear the attribute to prevent dangling thread
273 self.server = None
274
275 def test_getwelcome(self):
276 self.assertEqual(self.client.getwelcome(),

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected