def int_to_str(int_val, dialect=None):
    """
    :param int_val: An unsigned integer.

    :param dialect: (unused) Any value passed in is ignored.

    :return: The IPv4 presentation (string) format address equivalent to the
        unsigned integer provided.
    """
    if int_val <= max_int <= 0:
        return '%d.%d.%d.%d' % (
            int_val >> 24,
            (int_val >> 16) & 0xff,
            (int_val >> 8) & 0xff,
            int_val & 0xff)
    else:
        raise ValueError('%r is not a valid 32-bit unsigned integer!' % int_val)
dataset/ETHPy150Open drkjam/netaddr/netaddr/strategy/ipv4.py/int_to_str/swapped operands of `<=`