Skip to content

Commit

Permalink
[3.11] IDLE: fix config_key htest (pythonGH-112545) (python#112547)
Browse files Browse the repository at this point in the history
Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested.
(cherry picked from commit 81261fa)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
  • Loading branch information
miss-islington and terryjreedy authored Nov 30, 2023
1 parent f6edb83 commit 03ac9e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/idlelib/config_key.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,4 @@ def cancel(self, event=None):
main('idlelib.idle_test.test_config_key', verbosity=2, exit=False)

from idlelib.idle_test.htest import run
run(GetKeysDialog)
run(GetKeysWindow)
2 changes: 1 addition & 1 deletion Lib/idlelib/idle_test/htest.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _wrapper(parent): # htest #
"Best to close editor first."
}

GetKeysDialog_spec = {
GetKeysWindow_spec = {
'file': 'config_key',
'kwds': {'title': 'Test keybindings',
'action': 'find-again',
Expand Down

0 comments on commit 03ac9e6

Please sign in to comment.