Skip to content

Commit fa9ba02

Browse files
authored
gh-113269: IDLE - Fix test_editor hang (macOS) (#113271)
Hangs on installed 3.13.0a2 on macOS Catalina. Behavior on installed 3.12.1 and 3.11.7 is unknown.
1 parent c895403 commit fa9ba02

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

Lib/idlelib/News3.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Released on 2024-10-xx
44
=========================
55

66

7+
gh-113269: Fix test_editor hang on macOS Catalina.
8+
79
gh-112939: Fix processing unsaved files when quitting IDLE on macOS.
810
Patch by Ronald Oussoren and Christopher Chavez.
911

Lib/idlelib/idle_test/test_editor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def test_tabwidth_8(self):
9595
def insert(text, string):
9696
text.delete('1.0', 'end')
9797
text.insert('end', string)
98-
text.update() # Force update for colorizer to finish.
98+
text.update_idletasks() # Force update for colorizer to finish.
9999

100100

101101
class IndentAndNewlineTest(unittest.TestCase):
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix test_editor hang on macOS Catalina.

0 commit comments

Comments
 (0)