'Pressing down arrow to visit an entry that was added to the
history by pressing the up arrow instead of return does not
raise a L{TypeError}.
@see: U{http://twistedmatrix.com/trac/ticket/9031}
@return: A L{defer.Deferred} that fires when C{b"done"} is
echoed back.'

def test_DownArrowToPartialLineInHistory(self):

    return self._trivialTest((((('first    line\n' + 'partial    line') + up) + down) + '\ndone'), ['>>>    first    line', 'first    line', '>>>    partial    line', 'partial    line', '>>>    done'])
