def test_set_passwd_cb_wrong_args(self):
    '\n        `Context.set_passwd_cb` raises `TypeError` if called with a\n        non-callable first argument.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.set_passwd_cb(None)
`Context.set_passwd_cb` raises `TypeError` if called with a
non-callable first argument.
def test_set_passwd_cb_wrong_args(self):
    '\n        `Context.set_passwd_cb` raises `TypeError` if called with a\n        non-callable first argument.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.set_passwd_cb(None)