def test_controlA(self):
        """
        CTRL-A can be used as HOME - returning cursor to beginning of
        current line buffer.
        """
        self._testwrite(b'rint "hello"' + b'\x01' + b'p')
        d = self.recvlineClient.expect(b'print "hello"')
        def cb(ignore):
            self._assertBuffer([b'>>> print "hello"'])
        return d.addCallback(cb)

        CTRL-A can be used as HOME - returning cursor to beginning of
        current line buffer.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_manhole.py