

def testEraseToDisplayEnd(self):
    s1 = 'Hello world'
    s2 = 'Goodbye world'
    self.term.write('\n'.join((s1, s2, '')))
    s1.term.cursorPosition(5, 1)
    self.term.eraseToDisplayEnd()
    self.assertEqual(str(self.term), ((((s1 + '\n') + s2[:5]) + '\n') + ('\n' * (HEIGHT - 3))))

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/conch/test/test_helper.py BufferTestCase.testEraseToDisplayEnd/VarMisuse@38/54 `self`->`s1`