Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add negative test
  • Loading branch information
edvilme committed Sep 21, 2026
commit 995f364b7c828fa881f4d8955ffad3a3047b4379
3 changes: 3 additions & 0 deletions Lib/test/test_pyrepl/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def test_wlen(self):
def test_wlen_with_osc_sequence(self):
self.assertEqual(wlen("\x1b]633;A\x07>>> "), 4)
Comment thread
edvilme marked this conversation as resolved.
Outdated

def test_wlen_with_unterminated_osc_sequence(self):
self.assertEqual(wlen("\x1b]633;A"), 7)
Comment thread
edvilme marked this conversation as resolved.
Outdated

def test_prev_next_window(self):
def gen_normal():
yield 1
Expand Down
Loading