mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue