[New-bugs-announce] [issue23211] test.test_logging.SMTPHandlerTest failing on Snow Leopard

Geoffrey Spear report at bugs.python.org
Fri Jan 9 20:43:52 CET 2015

New submission from Geoffrey Spear:

This seems to be related to issue20605 where _socket.getaddrinfo() mysteriously fails on some Snow Leopard systems but not others; I don't think the cause of that one was ever explained but this appears to be the same error:

ERROR: test_basic (test.test_logging.SMTPHandlerTest)
Traceback (most recent call last):
  File "/Users/geoff/Documents/programming/cpython/Lib/test/test_logging.py", line 930, in test_basic
  File "/Users/geoff/Documents/programming/cpython/Lib/test/test_logging.py", line 687, in __init__
  File "/Users/geoff/Documents/programming/cpython/Lib/smtpd.py", line 654, in __init__
  File "/Users/geoff/Documents/programming/cpython/Lib/socket.py", line 730, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

components: Macintosh, Tests
messages: 233779
nosy: geoffreyspear, ned.deily, ronaldoussoren
priority: normal
severity: normal
status: open
title: test.test_logging.SMTPHandlerTest failing on Snow Leopard
type: behavior
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list