def test_flow_control_decreases_with_sent_data(self):
        """
        When data is sent on a stream, the flow control window should drop.
        """
        c = h2.connection.H2Connection()
        c.send_headers(1, self.example_request_headers)
        c.send_data(1, b'some data')

        remaining_length = len(b'some data') - self.DEFAULT_FLOW_WINDOW
        assert (c.local_flow_control_window(1) == remaining_length)
dataset/ETHPy150Open python-hyper/hyper-h2/test/test_flow_control_window.py/TestFlowControl.test_flow_control_decreases_with_sent_data/swapped operands of `-`