Skip to content

Refactor IDLE htest #71823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
terryjreedy opened this issue Jul 28, 2016 · 2 comments
Open

Refactor IDLE htest #71823

terryjreedy opened this issue Jul 28, 2016 · 2 comments
Assignees
Labels
tests Tests in the Lib/test dir topic-IDLE type-feature A feature request or enhancement

Comments

@terryjreedy
Copy link
Member

BPO 27636
Nosy @terryjreedy

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/terryjreedy'
closed_at = None
created_at = <Date 2016-07-28.03:04:28.032>
labels = ['expert-IDLE', 'type-feature', '3.7']
title = 'Refactor IDLE htest'
updated_at = <Date 2017-07-04.23:46:57.870>
user = 'https://github.com/terryjreedy'

bugs.python.org fields:

activity = <Date 2017-07-04.23:46:57.870>
actor = 'terry.reedy'
assignee = 'terry.reedy'
closed = False
closed_date = None
closer = None
components = ['IDLE']
creation = <Date 2016-07-28.03:04:28.032>
creator = 'terry.reedy'
dependencies = []
files = []
hgrepos = []
issue_num = 27636
keywords = []
message_count = 2.0
messages = ['271486', '297690']
nosy_count = 1.0
nosy_names = ['terry.reedy']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue27636'
versions = ['Python 3.6', 'Python 3.7']

@terryjreedy
Copy link
Member Author

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.

@terryjreedy terryjreedy self-assigned this Jul 28, 2016
@terryjreedy terryjreedy added topic-IDLE type-feature A feature request or enhancement labels Jul 28, 2016
@terryjreedy
Copy link
Member Author

Htest should extract version from __file__, and module from spec, and display both.

@terryjreedy terryjreedy added the 3.7 (EOL) end of life label Jul 4, 2017
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@erlend-aasland erlend-aasland added the tests Tests in the Lib/test dir label Jul 27, 2022
@terryjreedy terryjreedy removed the 3.7 (EOL) end of life label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir topic-IDLE type-feature A feature request or enhancement
Projects
Status: No status
Development

No branches or pull requests

2 participants