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

Method testTimeoutZero

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

Source from the content-addressed store, hash-verified

181 client.close()
182
183 def testTimeoutZero(self):
184 super().testTimeoutZero()
185 local_host = '/some/local/lmtp/delivery/program'
186 with self.assertRaises(ValueError):
187 self.client(local_host, timeout=0)
188
189# Test server thread using the specified SMTP server class
190def debugging_server(serv, serv_evt, client_evt):

Callers

nothing calls this directly

Calls 4

superClass · 0.85
testTimeoutZeroMethod · 0.45
assertRaisesMethod · 0.45
clientMethod · 0.45

Tested by

no test coverage detected