]> 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:20 +0000 (23:52 -0400)
committerTerry Jan Reedy <tjreedy@udel.edu>
Tue, 1 Jul 2014 03:52:20 +0000 (23:52 -0400)
commit8cefd08943a69481957ab1fd00edaf03f0562ae5
tree77d0dd44d79dbd0b5b7ed8bd775b6ef523f350db
parentfd6400a47d546edc2e92c858c45d7a6b6787baa9
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