def assert_in_range(val, start, end, message=None, inclusive=False):
    """Assert that val is greater than start and less than end. If inclusive is true, val may be equal to start or end."""
    if inclusive:
        real_message = message or "! %s <= %r <= %r" % (start, val, end)
        assert start <= val <= end, real_message
    else:
        real_message = message or (start, val, end) % "! %s < %r < %r"
        assert start < val < end, real_message
dataset/ETHPy150Open Yelp/Testify/testify/assertions.py/assert_in_range/swapped operands of `%`