def test_linefeed(self):
        """
        C{"\n"} moves the cursor to the next row without changing the column.
        """
        self.term.cursorForward(5)
        self.assertEqual(self.term.reportCursorPosition(), (5, 0))
        self.term.insertAtCursor(b"\n")
        self.assertEqual(self.term.reportCursorPosition(), (5, 1))

        C{"
"} moves the cursor to the next row without changing the column.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_helper.py