':py:obj:`Context.load_tmp_dh` raises :py:obj:`OpenSSL.SSL.Error` if the specified file
does not exist.'

def test_load_tmp_dh_missing_file(self):

    context = Context(TLSv1_METHOD)
    self.assertRaises(Error, context.load_tmp_dh, 'hello')
