diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2023-05-01 01:36:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 01:36:27 (GMT) |
commit | 4b27972f5fe816d3616f97f8643d8ad922473ab5 (patch) | |
tree | 00bbcc1010a887d869a6716357ea1b6ea429a3cd /Lib/idlelib/outwin.py | |
parent | 69bc86cb1aed49db27afc0095e0f4bcd8f1f3983 (diff) | |
download | cpython-4b27972f5fe816d3616f97f8643d8ad922473ab5.zip cpython-4b27972f5fe816d3616f97f8643d8ad922473ab5.tar.gz cpython-4b27972f5fe816d3616f97f8643d8ad922473ab5.tar.bz2 |
gh-88496: Fix IDLE test hang on macOS (#104025)
Replace widget.update() with widget.update_idletasks in two places.
Diffstat (limited to 'Lib/idlelib/outwin.py')
-rw-r--r-- | Lib/idlelib/outwin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/outwin.py b/Lib/idlelib/outwin.py index ac67c90..610031e 100644 --- a/Lib/idlelib/outwin.py +++ b/Lib/idlelib/outwin.py @@ -112,7 +112,7 @@ class OutputWindow(EditorWindow): assert isinstance(s, str) self.text.insert(mark, s, tags) self.text.see(mark) - self.text.update() + self.text.update_idletasks() return len(s) def writelines(self, lines): |