From: Vinay Sajip Date: Sun, 22 Apr 2012 17:19:50 +0000 (+0100) Subject: Issue #14644: Increased default timeout for SMTPHandler. Note: last commit message... X-Git-Tag: v3.3.0a3~113^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c3f47896ea8e38c97c3240f9f5de48e8d835120;p=python Issue #14644: Increased default timeout for SMTPHandler. Note: last commit message referred to the wrong issue number. --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index edcefa1406..75b3e4d814 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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'})