def test_load_tmp_dh_wrong_args(self):
    '\n        `Context.load_tmp_dh` raises `TypeError` if called with a\n        non-`str` argument.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.load_tmp_dh(object())
`Context.load_tmp_dh` raises `TypeError` if called with a
non-`str` argument.
def test_load_tmp_dh_wrong_args(self):
    '\n        `Context.load_tmp_dh` raises `TypeError` if called with a\n        non-`str` argument.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.load_tmp_dh(object())