def wait_until_connected(self, client, connect_value=True, 
        timeout_sec=TIMEOUT_SEC):
        # Pump the specified client message loop and wait until it's connected, 
        # or the specified timeout has ellapsed.  Can specify an explicit 
        # connection state to wait for by setting connect_value (defaults to 
        # waiting until connected, i.e. True).
        start = time.time()
        while client.is_connected() != connect_value and \
              (start - time.time()) < timeout_sec:
            client.loop()
            time.sleep(0)
dataset/ETHPy150Open adafruit/io-client-python/tests/test_mqtt_client.py/TestMQTTClient.wait_until_connected/swapped operands of `-`