Skip to content

Commit

Permalink
Update qtconsole/tests/test_ansi_code_processor.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Althviz Moré <[email protected]>
  • Loading branch information
jsbautista and dalthviz authored Oct 21, 2024
1 parent e56dd60 commit a7ee27f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qtconsole/tests/test_ansi_code_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down

0 comments on commit a7ee27f

Please sign in to comment.