diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-04-22 17:19:50 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2012-04-22 17:19:50 (GMT) |
commit | 4c3f47896ea8e38c97c3240f9f5de48e8d835120 (patch) | |
tree | aaabc3475006b924dc4a8378191aa636647a3e53 /Lib/test/test_logging.py | |
parent | 26308da1749b13910f7659a6056d2a04b0fb8077 (diff) | |
download | cpython-4c3f47896ea8e38c97c3240f9f5de48e8d835120.zip cpython-4c3f47896ea8e38c97c3240f9f5de48e8d835120.tar.gz cpython-4c3f47896ea8e38c97c3240f9f5de48e8d835120.tar.bz2 |
Issue #14644: Increased default timeout for SMTPHandler. Note: last commit message referred to the wrong issue number.
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index edcefa1..75b3e4d 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'}) |