def guard_increment_window(current, increment):
    # The largest value the flow control window may take.
    LARGEST_FLOW_CONTROL_WINDOW = 2**31 - 1

    new_size = current + increment

    if new_size > LARGEST_FLOW_CONTROL_WINDOW:
        raise FlowControlError(
            "May not increment flow control window past %d" %
            LARGEST_FLOW_CONTROL_WINDOW
        )

    return new_size
Test that two SimpleProperty with the same name have the same identifier()
dataset/ETHPy150Open python-hyper/hyper-h2/h2/utilities.py/guard_increment_window--crossover with--dataset/ETHPy150Open openworm/PyOpenWorm/tests/SimplePropertyTest.py/SimplePropertyTest.test_diff_value_diff_id_not_equal