From a7ee27f63f966d819e1105be3c7e54d58f96ffcd Mon Sep 17 00:00:00 2001 From: jsbautista <42411448+jsbautista@users.noreply.github.com> Date: Mon, 21 Oct 2024 14:07:09 -0500 Subject: [PATCH] Update qtconsole/tests/test_ansi_code_processor.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daniel Althviz Moré <16781833+dalthviz@users.noreply.github.com> --- qtconsole/tests/test_ansi_code_processor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qtconsole/tests/test_ansi_code_processor.py b/qtconsole/tests/test_ansi_code_processor.py index 11d0a200..ed00d631 100644 --- a/qtconsole/tests/test_ansi_code_processor.py +++ b/qtconsole/tests/test_ansi_code_processor.py @@ -186,10 +186,10 @@ def test_move_cursor_up(self): """Are the ANSI commands for the cursor movement actions (movement up and to the beginning of the line) processed correctly? """ - #This line moves the cursor up once, then moves it up five more lines. - #Next, it moves the cursor to the beginning of the previous line, and - #finally moves it to the beginning of the fifth line above the current - #position + # This line moves the cursor up once, then moves it up five more lines. + # Next, it moves the cursor to the beginning of the previous line, and + # finally moves it to the beginning of the fifth line above the current + # position string = '\x1b[A\x1b[5A\x1b[F\x1b[5F' i = -1 for i, substring in enumerate(self.processor.split_string(string)):