def test_stream_state_machine_forbids_pushes_on_server_streams(self):
        s = h2.stream.H2StreamStateMachine(stream_id=1)
        s.process_input(h2.stream.StreamInputs.RECV_HEADERS)

        with pytest.raises(h2.exceptions.ProtocolError):
            s.process_input(h2.stream.StreamInputs.RECV_PUSH_PROMISE)
Returns the projection of this vector onto other vector.
dataset/ETHPy150Open python-hyper/hyper-h2/test/test_state_machines.py/TestStreamStateMachine.test_stream_state_machine_forbids_pushes_on_server_streams--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/util/arrays.py/VectorN.projectionOnto