def createChannel(self, port):
        t0 = time.time()
        lastException = None
        while time.time() > t0 + 60:
            try:
                return self.channelFactory.createChannel(('localhost', port))
            except common.SocketException as e:
                lastException = e

            time.sleep(0.01)

        assert lastException is not None
        raise lastException
dataset/ETHPy150Open ufora/ufora/ufora/networking/MultiChannelListener_test.py/MultiChannelListenerTest.createChannel/swapped operands of `>`