[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

Terry J. Reedy report at bugs.python.org
Mon Oct 13 00:17:44 CEST 2014


Terry J. Reedy added the comment:

You left this issue number off your tkinter test updates, such as f6f098bdb843.  By using .update_idletasks instead of .update, are you assuming that their are no user events, or that they should be ignormed?

I was wondering whether it would be Ok, if not a good idea, to run tests, and maybe Idle itself, with NoDefaultRoot.  I see that is already done for tkinter tests. I cannot use exactly the same design as AbstractTkTest since I sometimes do other things in setUp/tearDownClass, but I could define create_test_root() and delete_test_root() functions in a support file.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20567>
_______________________________________


More information about the Python-bugs-list mailing list