Skip to content

Commit

Permalink
add coment to test
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbautista committed Oct 17, 2024
1 parent 42cc431 commit a7b4c10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qtconsole/tests/test_ansi_code_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ def test_combined(self):
self.assertEqual(actions, [[], ['carriage-return'], [], ['backspace']])

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?
"""
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 a7b4c10

Please sign in to comment.