Commit 4c3f4789 authored by Vinay Sajip's avatar Vinay Sajip

Issue #14644: Increased default timeout for SMTPHandler. Note: last commit...

Issue #14644: Increased default timeout for SMTPHandler. Note: last commit message referred to the wrong issue number.
parent 26308da1
......@@ -930,7 +930,7 @@ class SMTPHandlerTest(BaseTest):
sockmap)
server.start()
addr = ('localhost', server.port)
h = logging.handlers.SMTPHandler(addr, 'me', 'you', 'Log')
h = logging.handlers.SMTPHandler(addr, 'me', 'you', 'Log', timeout=5.0)
self.assertEqual(h.toaddrs, ['you'])
self.messages = []
r = logging.makeLogRecord({'msg': 'Hello'})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment