New submission from Terry J. Reedy: This issue follows-up on #27732, which suppressed beeps during IDLE tests, I want to also suppress the flashing of tk widget boxes, which has become visually obnoxious with the increasing number of tests.
Adding root.withdraw() after root = Tk() solves the problem for all current tests. For test_textview, this requires the fix of a bad cleanup call and addition of another. It appears that the textview toplevels must be destroyed before the cleanup call to root.update_idletasks() or else they are made visible. The idletasks call is needed to avoid '''can't invoke "event" command''' (even with all toplevels gone). The backports will have fewer changes because there are fewer tests. ---------- assignee: terry.reedy components: IDLE files: flashy.diff keywords: patch messages: 274080 nosy: terry.reedy priority: normal severity: normal stage: needs patch status: open title: Make IDLE tests less flashy type: enhancement versions: Python 2.7, Python 3.5, Python 3.6 Added file: http://bugs.python.org/file44310/flashy.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27922> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com