This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2015-09-16.06:52:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442386365.65.0.414098178984.issue25138@psf.upfronthosting.co.za>
In-reply-to
Content
test_socket.test_idna() uses socket.EAI_NODATA constant which doesn't exists on FreeBSD.

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.0%203.x/builds/3697/steps/test/logs/stdio

======================================================================
ERROR: test_idna (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socket.py", line 1294, in test_idna
    socket.gethostbyname('python.org')
socket.gaierror: [Errno 8] hostname nor servname provided, or not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd10/build/Lib/test/test_socket.py", line 1296, in test_idna
    if e.errno == socket.EAI_NODATA:
AttributeError: module 'socket' has no attribute 'EAI_NODATA'
History
Date User Action Args
2015-09-16 06:52:45vstinnersetrecipients: + vstinner
2015-09-16 06:52:45vstinnersetmessageid: <1442386365.65.0.414098178984.issue25138@psf.upfronthosting.co.za>
2015-09-16 06:52:45vstinnerlinkissue25138 messages
2015-09-16 06:52:44vstinnercreate