':py:obj:`Context.set`mode} raises :py:obj:`TypeError` if called with the wrong
number of arguments or a non-:py:obj:`int` argument.'

def test_set_mode_wrong_args(self):

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