New submission from Terry J. Reedy: Initial plan. 1a. Change AboutDialog to mimic query.Query with respect to _utest and suppression of dialog display and waiting. 1b. Create AboutDialog instance. 2a. Change textview.TextViewer as with AboutDialog. Also change textview functions and AboutDialog methods to pass on _utest. 2b. Simulate keyclicks on buttons and test that root gains appropriate child. Then destroy it. 3. At some point, remove dead code and change now incorrect encoding comment.
Separate issue: add simulated button click tests to test_textview and other popup dialogs. Directly calling commands does not test that buttons invoke the right command. ---------- assignee: terry.reedy components: IDLE messages: 293152 nosy: terry.reedy priority: normal severity: normal stage: needs patch status: open title: IDLE: add tests for help_about.py type: enhancement versions: Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30290> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com