':py:obj:`Context.load_tmp_dh` raises :py:obj:`TypeError` if called with the wrong
number of arguments or with a non-:py:obj:`str` argument.'

def test_load_tmp_dh_wrong_args(self):

    context = Context(TLSv1_METHOD)
    self.assertRaises(TypeError, context.load_tmp_dh)
    self.assertRaises(TypeError, context.load_tmp_dh, 'foo', None)
    self.assertRaises(TypeError, context.load_tmp_dh, object())
