summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-11-30 08:29:59 (GMT)
committerGitHub <noreply@github.com>2023-11-30 08:29:59 (GMT)
commit46adf6b701c440e047abf925df9a75aae50233bf (patch)
tree9fbbd16405849877e12894f7564036168316a922
parent749c8fdafbc924a2b37637d9a28b8c4accfdd1ae (diff)
downloadcpython-46adf6b701c440e047abf925df9a75aae50233bf.zip
cpython-46adf6b701c440e047abf925df9a75aae50233bf.tar.gz
cpython-46adf6b701c440e047abf925df9a75aae50233bf.tar.bz2
[3.12] IDLE: fix config_key htest (GH-112545) (#112546)
Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested. (cherry picked from commit 81261fa67ff82b03c255733b0d1abbbb8a228187) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
-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',