Fix tests: getsockname() can return None on OS X on unbound sockets (#1400)

1 file changed