[Python-checkins] cpython (merge 3.4 -> default): Issue #23211: merge from 3.4
ned.deily
python-checkins at python.org
Sun Jan 18 02:00:17 CET 2015
https://hg.python.org/cpython/rev/e3dfe942697e
changeset: 94196:e3dfe942697e
parent: 94194:47c850e0539b
parent: 94195:90b664532d1c
user: Ned Deily <nad at acm.org>
date: Sat Jan 17 16:59:50 2015 -0800
summary:
Issue #23211: merge from 3.4
files:
Lib/test/test_logging.py | 4 ++--
Misc/NEWS | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -926,10 +926,10 @@
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'])
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1611,6 +1611,8 @@
- Issue #22770: Prevent some Tk segfaults on OS X when running gui tests.
+- Issue #23211: Workaround test_logging failure on some OS X 10.6 systems.
+
Tools/Demos
-----------
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list