def test_state_machine_only_allows_connection_states(self):
        c = h2.connection.H2ConnectionStateMachine()

        with pytest.raises(ValueError):
            c.process_input(1)
The Connection state machine only allows ConnectionState inputs.
dataset/ETHPy150Open python-hyper/hyper-h2/test/test_state_machines.py/TestConnectionStateMachine.test_state_machine_only_allows_connection_states