def test_set_session_cache_mode_wrong_args(self):
    '\n        `Context.set_session_cache_mode` raises `TypeError` if called with\n        a non-integer argument.\n        called with other than one integer argument.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.set_session_cache_mode(object())
`Context.set_session_cache_mode` raises `TypeError` if called with
a non-integer argument.
called with other than one integer argument.
def test_set_session_cache_mode_wrong_args(self):
    '\n        `Context.set_session_cache_mode` raises `TypeError` if called with\n        a non-integer argument.\n        called with other than one integer argument.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.set_session_cache_mode(object())