@pytest.mark.parametrize('callback', [None, 1.0, 'mode', ('foo', 'bar')])
def test_set_verify_wrong_callable_arg(self, callback):
    '\n        `Context.set_verify` raises `TypeError` if the second argument\n        is not callable.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.set_verify(mode=VERIFY_PEER, callback=callback)
`Context.set_verify` raises `TypeError` if the second argument
is not callable.
@pytest.mark.parametrize('callback', [None, 1.0, 'mode', ('foo', 'bar')])
def test_set_verify_wrong_callable_arg(self, callback):
    '\n        `Context.set_verify` raises `TypeError` if the second argument\n        is not callable.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.set_verify(mode=VERIFY_PEER, callback=callback)