Neil Schemenauer added the comment:
Tested on FreeBSD 10.3. getsockname() on a IPPROTO_SCTP protocol socket
returns errno = FileNoFoundError. We could just comment out that test I guess.
My theory is that on FreeBSD, getsockname() on an SCTP socket fails if it is
not bound. Indeed, adding a bind(('127.0.0.1', 11234)) call before the
fdtype() call makes the test pass.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27377>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com