summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2023-11-30 07:08:44 (GMT)
committerGitHub <noreply@github.com>2023-11-30 07:08:44 (GMT)
commit81261fa67ff82b03c255733b0d1abbbb8a228187 (patch)
tree5bce11370e4059c2dd466739b0017982ba7a4ec5 /Lib/idlelib
parent37589d76bbe97b0bf13ffafb8dd6aab361a0209a (diff)
downloadcpython-81261fa67ff82b03c255733b0d1abbbb8a228187.zip
cpython-81261fa67ff82b03c255733b0d1abbbb8a228187.tar.gz
cpython-81261fa67ff82b03c255733b0d1abbbb8a228187.tar.bz2
IDLE: fix config_key htest (#112545)
Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested.
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/config_key.py2
-rw-r--r--Lib/idlelib/idle_test/htest.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/config_key.py b/Lib/idlelib/config_key.py
index bb07231..e5f67e8 100644
--- a/Lib/idlelib/config_key.py
+++ b/Lib/idlelib/config_key.py
@@ -351,4 +351,4 @@ if __name__ == '__main__':
main('idlelib.idle_test.test_config_key', verbosity=2, exit=False)
from idlelib.idle_test.htest import run
- run(GetKeysDialog)
+ run(GetKeysWindow)
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py
index d297f8a..595e51d 100644
--- a/Lib/idlelib/idle_test/htest.py
+++ b/Lib/idlelib/idle_test/htest.py
@@ -152,7 +152,7 @@ _editor_window_spec = {
"Best to close editor first."
}
-GetKeysDialog_spec = {
+GetKeysWindow_spec = {
'file': 'config_key',
'kwds': {'title': 'Test keybindings',
'action': 'find-again',