mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
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.
This commit is contained in:
parent
c895403de0
commit
fa9ba02353
3 changed files with 4 additions and 1 deletions
|
@ -4,6 +4,8 @@ Released on 2024-10-xx
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
|
|
||||||
|
gh-113269: Fix test_editor hang on macOS Catalina.
|
||||||
|
|
||||||
gh-112939: Fix processing unsaved files when quitting IDLE on macOS.
|
gh-112939: Fix processing unsaved files when quitting IDLE on macOS.
|
||||||
Patch by Ronald Oussoren and Christopher Chavez.
|
Patch by Ronald Oussoren and Christopher Chavez.
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@ class GetLineIndentTest(unittest.TestCase):
|
||||||
def insert(text, string):
|
def insert(text, string):
|
||||||
text.delete('1.0', 'end')
|
text.delete('1.0', 'end')
|
||||||
text.insert('end', string)
|
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):
|
class IndentAndNewlineTest(unittest.TestCase):
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fix test_editor hang on macOS Catalina.
|
Loading…
Add table
Add a link
Reference in a new issue