]> granicus.if.org Git - python/commit
Issue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
authorTerry Jan Reedy <tjreedy@udel.edu>
Tue, 1 Jul 2014 03:52:14 +0000 (23:52 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Tue, 1 Jul 2014 03:52:14 +0000 (23:52 -0400)
commit6a0fe8db197ebf9884810bfb482e0a4f5eddd5d6
tree02adef7f3b35caddf80509997e33c5309ae42cb4
parent1530a822234bba10ae1211dcab5844a117abd9f8
Issue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
to remove duplication and return info for tests.  Rewrite corresponding tests.
Test_create_option_buttons was not testing anything because of buggy
comparisons.  Use Python subscripting to get widget options.
Lib/idlelib/SearchDialogBase.py
Lib/idlelib/idle_test/test_searchdialogbase.py