def history_changed(proc, TIMEOUT, to):
    proc.send('\033[A')
    assert proc.expect([TIMEOUT, to])
Ensures that history changed.
dataset/ETHPy150Open nvbn/thefuck/tests/functional/plots.py/history_changed