Skip to content
Merged
Prev Previous commit
Update Lib/idlelib/idle_test/test_editor.py
  • Loading branch information
serhiy-storchaka authored Sep 8, 2026
commit def5adb0b1fca45e9cee0d6c59d2522a363cdb52
2 changes: 1 addition & 1 deletion Lib/idlelib/idle_test/test_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def test_rclick_inside_selection(self):
text = self.text
insert(text, 'one two three') # 'insert' at 1.13.
# The selection contains the clicked character.
text.tag_add('sel', 1.0, 1.3) # Select 'one'.
text.tag_add('sel', '1.0', '1.3') # Select 'one'.
text.mark_set('insert', '1.3') # If select rightward, 'insert' at 1.3.
self.click()
eq((text.index('sel.first'), text.index('sel.last')), ('1.0', '1.3'))
Expand Down
Loading