◐ Shell
clean mode source ↗

Issue 27636: Refactor IDLE htest

Issue27636

Created on 2016-07-28 03:04 by terry.reedy, last changed 2022-04-11 14:58 by admin.

Messages (2)
msg271486 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2016-07-28 03:04
idlelib.idle_test.htest
Extract a App(Tk) subclass from run function and nested function.  Pass that as master instead of bare root. Extract HTest(Toplevel) class with the common code in files with an htest function.  Attach HTest to App as an attribute so htest functions can instantiate or subclass.
msg297690 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-07-04 23:46
Htest should extract version from __file__, and module from spec, and display both.
History
Date User Action Args
2022-04-11 14:58:34adminsetgithub: 71823
2017-07-04 23:47:53terry.reedylinkissue21624 dependencies
2017-07-04 23:46:57terry.reedysetmessages: + msg297690
versions: + Python 3.7
2016-07-28 03:04:28terry.reedycreate