[issue18489] IDLE Unit test for SearchEngine.py

Terry J. Reedy report at bugs.python.org
Mon Aug 19 08:19:27 CEST 2013


Terry J. Reedy added the comment:

As with searchdialogbase tests, I get the following in the console every time I run the test file within idle.
'''
can't invoke "event" command:  application has been destroyed
    while executing
"event generate $w <<ThemeChanged>>"
    (procedure "ttk::ThemeChanged" line 6)
    invoked from within
"ttk::ThemeChanged"
'''
This seems like a bug somewhere, but where? Why is ttk involved?

When I applied the patch, the tests ran, but left two tk windows. I added the missing root.destroy() calls. I plan to separate the class methods that search a text widget into a separate test case (or more).

10 lines are not yet covered. 6 should be easy.

----------
assignee:  -> terry.reedy
stage:  -> patch review

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


More information about the Python-bugs-list mailing list