

@pytest.fixture(autouse=True)
def Popen(self, mocker):
    mock = mocker.patch('thefuck.shells.tcsh.Popen')
    mock.return_value.stdout.read.return_value = b'fuck\teval $(thefuck $(fc -ln -1))\nl\tls -CF\nla\tls -A\nll\tls -alF'
    return mock

dataset/ETHPy150Open nvbn/thefuck/tests/shells/test_tcsh.py TestTcsh.Popen/original