def test_deep_walk():
    s = {z: 6, y: 5, x: (y, z)}
    assert walk(x, s) == (y, z)
    assert walkstar(x, s) == (5, 6)
Page 30 of Byrd thesis
dataset/ETHPy150Open logpy/logpy/logpy/tests/test_core.py/test_deep_walk