[issue30993] IDLE: Document and fix configdialog font tests.

Terry J. Reedy report at bugs.python.org
Sun Jul 23 13:06:29 EDT 2017


Terry J. Reedy added the comment:

A big issue with changing to tagging individual elements is back compatibility.  Besides which, if the font is not bold, I cannot imaging bolding anything other than the definition names.  This also seems to venture beyond 'keep IDLE simple for beginners'.  How about a new option to just bold definition names?

Factoring out the call to set_samples to one place is a great idea that simplifies code and tests.  I did it and the htest dialog worked just fine.  The tests also passed as were, but need reworking.  I am doing that now.  The result will be one FontTest class that tests that each widget sets its var, tests that var setting adds changes and calls set_samples, and tests set_samples.

----------

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


More information about the Python-bugs-list mailing list