diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2023-12-19 05:26:11 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 05:26:11 (GMT) |
commit | fa9ba02353d79632983b9fe24da851894877e342 (patch) | |
tree | 8e7d9cc37a2410d6e227f8752e9533f8593c8e90 /Lib/idlelib/idle_test/test_editor.py | |
parent | c895403de0b1c301aeef86921348c13f608257dc (diff) | |
download | cpython-fa9ba02353d79632983b9fe24da851894877e342.zip cpython-fa9ba02353d79632983b9fe24da851894877e342.tar.gz cpython-fa9ba02353d79632983b9fe24da851894877e342.tar.bz2 |
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.
Diffstat (limited to 'Lib/idlelib/idle_test/test_editor.py')
-rw-r--r-- | Lib/idlelib/idle_test/test_editor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_editor.py b/Lib/idlelib/idle_test/test_editor.py index 9296a6d..0dfe2f3 100644 --- a/Lib/idlelib/idle_test/test_editor.py +++ b/Lib/idlelib/idle_test/test_editor.py @@ -95,7 +95,7 @@ class GetLineIndentTest(unittest.TestCase): 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): |