Skip to content

Commit 97ba530

Browse files
committed
Update test with clearer explanation
1 parent afbef18 commit 97ba530

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎Lib/test/test_pyrepl/test_utils.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ def test_wlen_with_osc_sequence(self):
5151
prompt = ">>> "
5252
self.assertEqual(wlen("\x1b]633;A\x07" + prompt), len(prompt))
5353

54-
def test_wlen_with_unterminated_osc_sequence(self):
54+
def test_wlen_with_unterminated_osc_sequence_as_individual_characters(self):
55+
# \x1b is treated as a single character (ESC)
5556
self.assertEqual(wlen("\x1b]633;A"), 7)
5657

5758
def test_prev_next_window(self):

0 commit comments

Comments
 (0)