def test_set_session_id_fail(self, context):
    '\n        `Context.set_session_id` errors are propagated.\n        '
    with pytest.raises(Error) as e:
        context.set_session_id((b'abc' * 1000))
    assert ([('SSL routines', 'SSL_CTX_set_session_id_context', 'ssl session id context too long')] == e.value.args[0])
`Context.set_session_id` errors are propagated.
def test_set_session_id_fail(self, context):
    '\n        \n        '
    with pytest.raises(Error) as e:
        context.set_session_id((b'abc' * 1000))
    assert ([('SSL routines', 'SSL_CTX_set_session_id_context', 'ssl session id context too long')] == e.value.args[0])