From 81261fa67ff82b03c255733b0d1abbbb8a228187 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Thu, 30 Nov 2023 02:08:44 -0500 Subject: [PATCH] IDLE: fix config_key htest (#112545) Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested. --- Lib/idlelib/config_key.py | 2 +- Lib/idlelib/idle_test/htest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/idlelib/config_key.py b/Lib/idlelib/config_key.py index bb07231cd59..e5f67e8d406 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 d297f8aa009..595e51d3699 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',