classification
Title: Refactor IDLE htest
Type: enhancement Stage: needs patch
Components: IDLE Versions: Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: terry.reedy
Priority: normal Keywords:

Created on 2016-07-28 03:04 by terry.reedy, last changed 2017-07-04 23:46 by terry.reedy.

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
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