Skip to content

Commit

Permalink
pythongh-113269: IDLE - Fix test_editor hang (macOS) (pythonGH-113271)
Browse files Browse the repository at this point in the history
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
terryjreedy authored and miss-islington committed Dec 19, 2023
1 parent 44bdb6d commit 7ff3675
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
Expand Up @@ -4,6 +4,8 @@ Released after 2022-10-24
=========================


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
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
@@ -0,0 +1 @@
Fix test_editor hang on macOS Catalina.

0 comments on commit 7ff3675

Please sign in to comment.