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

Method tearDown

Lib/test/test_smtplib.py:792–798  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

790 self.evt.clear()
791
792 def tearDown(self):
793 self.evt.wait()
794 sys.stdout = self.old_stdout
795 threading_helper.join_thread(self.thread)
796 del self.thread
797 self.doCleanups()
798 threading_helper.threading_cleanup(*self.thread_key)
799
800 def testLineTooLong(self):
801 self.assertRaises(smtplib.SMTPResponseException, smtplib.SMTP,

Callers

nothing calls this directly

Calls 3

join_threadMethod · 0.80
doCleanupsMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected