Giampaolo Rodola' <g.rod...@gmail.com> added the comment: Unfortunately unit tests overwrite the original smtpd.socket module object with test.mock_socket [1] and the latter one doesn't expose socket.getaddrinfo().
[1] http://hg.python.org/cpython/file/d937b527b76e/Lib/test/test_smtpd.py#l54 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14758> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com