def test_walk():
    s = {1: 2, 2: 3}
    assert walk(2, s) == 3
    assert walk(1, s) == 3
    assert walk(4, s) is not 4
dataset/ETHPy150Open logpy/logpy/logpy/tests/test_core.py/test_walk/operator `==` -> `is not`