rlib/test/test_rsocket.py::TestTCP::()::test_timeout_zero
self = <rpython.rlib.test.test_rsocket.TestTCP instance at 0x000001609a11c620>
method = <bound method TestTCP.test_timeout_zero of <rpython.rlib.test.test_rsocket.TestTCP instance at 0x000001609a11c620>>
def setup_method(self, method):
self.serv = RSocket(AF_INET, SOCK_STREAM)
> self.serv.bind(INETAddress(self.HOST, self.PORT))
rlib\test\test_rsocket.py:629:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <rpython.rlib.rsocket.RSocket object at 0x00000160968f9948>
address = <INETAddress 127.0.0.1:50007>
def bind(self, address):
"""Bind the socket to a local address."""
addr = address.lock()
res = _c.socketbind(self.fd, addr, address.addrlen)
address.unlock()
if res < 0:
> raise self.error_handler()
E CSocketError: An attempt was made to access a socket in a way forbidden by its access permissions
rlib\rsocket.py:776: CSocketError
builder: rpython-win-x86-64 build #738*
test: rlib/test/test_rsocket.py::TestTCP::()::test_timeout_zero