[New-bugs-announce] [issue27196] Eliminate 'ThemeChanged' warning when running IDLE tests
Terry J. Reedy
report at bugs.python.org
Fri Jun 3 04:00:07 EDT 2016
New submission from Terry J. Reedy:
When running "python_d.exe -m test_idle from console or when running test file from IDLE after starting it in either console or by import, the following sometimes appears.
can't invoke "event" command: application has been destroyed
"event generate $w <<ThemeChanged>>"
(procedure "ttk::ThemeChanged" line 6)
invoked from within
Serhiy, this is pobably not critical, but it is annoying. Perhaps the 'kill-callbacks' patch would fix this. Still, I try to have IDLE tests cleanup properly.
Known repeatable occurrences:
* test_configdialog.ConfigDialogTest.test_dialog, when run from IDLE after import, but not when part of suite.
* test_replace.ReplaceDialogTest.test_default_command, 3 times, when run as part suite, but not when run from IDLE after import.
components: IDLE, Tkinter
nosy: serhiy.storchaka, terry.reedy
stage: needs patch
title: Eliminate 'ThemeChanged' warning when running IDLE tests
versions: Python 3.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce