Home - Summaries: (main) : (py3.11) : (py3.12) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

rlib/test/test_rsocket.py::TestTCP::()::test_timeout_zero

self = <rpython.rlib.test.test_rsocket.TestTCP instance at 0x000002199c47d520>
method = <bound method TestTCP.test_timeout_zero of <rpython.rlib.test.test_rsocket.TestTCP instance at 0x000002199c47d520>>

    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 0x0000021998f17f30>
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 #739*
test: rlib/test/test_rsocket.py::TestTCP::()::test_timeout_zero