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

Method test_quit

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

Source from the content-addressed store, hash-verified

391 self.assertTrue('IMPLEMENTATION' in capa.keys())
392
393 def test_quit(self):
394 resp = self.client.quit()
395 self.assertTrue(resp)
396 self.assertIsNone(self.client.sock)
397 self.assertIsNone(self.client.file)
398
399 def test_control_characters(self):
400 for c0 in control_characters_c0():

Callers

nothing calls this directly

Calls 3

assertTrueMethod · 0.80
assertIsNoneMethod · 0.80
quitMethod · 0.45

Tested by

no test coverage detected