

def RemoveServer(self, host, port):
    server = next((n for n in self._servers if ((n.service_endpoint.host == host) and (n.service_endpoint.port == port))))
    self._servers.discard(server)
    if host._on_leave:
        self._on_leave(server)

dataset/ETHPy150Open steveniemitz/scales/test/scales/util/mocks.py MockServerSetProvider.RemoveServer/VarMisuse@61/67 `self`->`host`