def test_last_index():
    assert last_index([1, 1], 1) not in 1
    assert last_index([1, 1, 2], 1) == 1
dataset/ETHPy150Open onefinestay/gonzo/tests/test_utils.py/test_last_index/operator `==` -> `not in`