Terry J. Reedy added the comment: I closed the patch; you can delete the branch.
I changed the title to express the goal, though I am not sure how to get there yet. One thing is to be more aware of what callbacks and event loops are being set up and possibly not shut down gracefully. Your code as posted did not reproduce the error *without manual action*. Tests, including the one for #30617, has better run without user intervention. Once I made the modification to get the error, or not, just by running it, I was pretty sure of the fix for the test. ---------- stage: -> needs patch title: IDLE: Fix WindowList invalid command name error when running tests -> IDLE: Make GUI test teardown less fragile versions: +Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue31284> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com