Skip to content

Commit

Permalink
[3.12] gh-113269: IDLE - Fix test_editor hang (macOS) (GH-113271) (#1…
Browse files Browse the repository at this point in the history
…13272)

gh-113269: IDLE - Fix test_editor hang (macOS) (GH-113271)

Hangs on installed 3.13.0a2 on macOS Catalina.
Behavior on installed 3.12.1 and 3.11.7 is unknown.
(cherry picked from commit fa9ba02)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  • Loading branch information
miss-islington and terryjreedy committed Dec 19, 2023
1 parent 816b635 commit 1c2fcd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Lib/idlelib/News3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Released after 2023-10-02
=========================


gh-113269: Fix test_editor hang on macOS Catalina.

gh-112939: Fix processing unsaved files when quitting IDLE on macOS.
Patch by Ronald Oussoren and Christopher Chavez.

Expand Down
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 @@ -95,7 +95,7 @@ def test_tabwidth_8(self):
def insert(text, string):
text.delete('1.0', 'end')
text.insert('end', string)
text.update() # Force update for colorizer to finish.
text.update_idletasks() # Force update for colorizer to finish.


class IndentAndNewlineTest(unittest.TestCase):
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix test_editor hang on macOS Catalina.

0 comments on commit 1c2fcd8

Please sign in to comment.