]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
IDLE: fix config_key htest (#112545)
authorTerry Jan Reedy <tjreedy@udel.edu>
Thu, 30 Nov 2023 07:08:44 +0000 (02:08 -0500)
committerGitHub <noreply@github.com>
Thu, 30 Nov 2023 07:08:44 +0000 (07:08 +0000)
Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested.

Lib/idlelib/config_key.py
Lib/idlelib/idle_test/htest.py

index bb07231cd590b69fa8a14eb9faa9aa4b2a46c0a7..e5f67e8d4069ee8dc22790e432b27beff4faf558 100644 (file)
@@ -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)
index d297f8aa0094ee9424bbc3f60ccc7d2eb0b6d2ef..595e51d3699f6eb5eedba43747859fdcf45a0e35 100644 (file)
@@ -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',