There was an error while loading. Please reload this page.
1 parent afbef18 commit 97ba530Copy full SHA for 97ba530
1 file changed
Lib/test/test_pyrepl/test_utils.py
@@ -51,7 +51,8 @@ def test_wlen_with_osc_sequence(self):
51
prompt = ">>> "
52
self.assertEqual(wlen("\x1b]633;A\x07" + prompt), len(prompt))
53
54
- def test_wlen_with_unterminated_osc_sequence(self):
+ def test_wlen_with_unterminated_osc_sequence_as_individual_characters(self):
55
+ # \x1b is treated as a single character (ESC)
56
self.assertEqual(wlen("\x1b]633;A"), 7)
57
58
def test_prev_next_window(self):
0 commit comments