def test_retry_call_2():
    side_effect = [RuntimeError, RuntimeError, 3]
    f_mock = MagicMock(side_effect=side_effect)
    tries = 5
    result = None
    try:
        result = retry_call(f_mock, exceptions=RuntimeError, tries=tries)
    except RuntimeError:
        pass

    assert result != 3
    assert f_mock.call_count == len(side_effect)
dataset/ETHPy150Open invl/retry/retry/tests/test_retry.py/test_retry_call_2/operator `==` -> `!=`