@pytest.mark.parametrize('mode', [None, 1.0, object(), 'mode'])
def test_set_verify_wrong_mode_arg(self, mode):
    '\n        `Context.set_verify` raises `TypeError` if the first argument is\n        not an integer.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.set_verify(mode=mode, callback=(lambda *args: None))
`Context.set_verify` raises `TypeError` if the first argument is
not an integer.
@pytest.mark.parametrize('mode', [None, 1.0, object(), 'mode'])
def test_set_verify_wrong_mode_arg(self, mode):
    '\n        `Context.set_verify` raises `TypeError` if the first argument is\n        not an integer.\n        '
    context = Context(TLSv1_METHOD)
    with pytest.raises(TypeError):
        context.set_verify(mode=mode, callback=(lambda *args: None))