diff options
author | Ned Deily <nad@acm.org> | 2015-01-18 00:59:50 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2015-01-18 00:59:50 (GMT) |
commit | cad3eb6d5ddb8a1734d2eda6dcddbfca60c057cc (patch) | |
tree | bc54d9d450658cf8a6128f6004e46de574d1b23d /Lib | |
parent | 9c13bd9ac27d8e67c9bdc57c1d34dd4f4a03a567 (diff) | |
parent | 1e012e6c7f3346bf7977d1476d98a4087a84bd4b (diff) | |
download | cpython-cad3eb6d5ddb8a1734d2eda6dcddbfca60c057cc.zip cpython-cad3eb6d5ddb8a1734d2eda6dcddbfca60c057cc.tar.gz cpython-cad3eb6d5ddb8a1734d2eda6dcddbfca60c057cc.tar.bz2 |
Issue #23211: merge from 3.4
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_logging.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 99b32c9..9674322 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -926,10 +926,10 @@ class SMTPHandlerTest(BaseTest): TIMEOUT = 8.0 def test_basic(self): sockmap = {} - server = TestSMTPServer(('localhost', 0), self.process_message, 0.001, + server = TestSMTPServer((support.HOST, 0), self.process_message, 0.001, sockmap) server.start() - addr = ('localhost', server.port) + addr = (support.HOST, server.port) h = logging.handlers.SMTPHandler(addr, 'me', 'you', 'Log', timeout=self.TIMEOUT) self.assertEqual(h.toaddrs, ['you']) |