':py:obj:`Context.get_session_cache_mode` raises :py:obj:`TypeError` if
called with any arguments.'

def test_get_session_cache_mode_wrong_args(self):

    context = Context(TLSv1_METHOD)
    self.assertRaises(TypeError, context.get_session_cache_mode, 1)
