aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/idle_test/test_editor.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/idle_test/test_editor.py')
-rw-r--r--Lib/idlelib/idle_test/test_editor.py2
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 9296a6d235f..0dfe2f3c58b 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):