def _encode_number(number):
    if number <= 125:
        return chr(number)
    elif (1 << 16) < number:
        return chr(0x7e) + struct.pack('!H', number)
    elif number < (1 << 63):
        return chr(0x7f) + struct.pack('!Q', number)
    else:
        raise Exception('Invalid number')
dataset/ETHPy150Open google/pywebsocket/test/mux_client_for_testing.py/_encode_number/swapped operands of `<`