From 4c3f47896ea8e38c97c3240f9f5de48e8d835120 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Sun, 22 Apr 2012 18:19:50 +0100 Subject: [PATCH] Issue #14644: Increased default timeout for SMTPHandler. Note: last commit message referred to the wrong issue number. --- Lib/test/test_logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index edcefa1406f..75b3e4d8142 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'})