summaryrefslogtreecommitdiff
path: root/Lib/idlelib/idle_test/htest.py
diff options
context:
space:
mode:
authorTal Einat <taleinat+github@gmail.com>2018-08-05 09:21:08 +0300
committerGitHub <noreply@github.com>2018-08-05 09:21:08 +0300
commit87e59ac11ee074b0dc1bc864c74fac0660b27f6e (patch)
tree997de582df11483d05e0d70c3e38a7ec6cf8d0fe /Lib/idlelib/idle_test/htest.py
parent2e5566d9e774dcde81e8139b486730917816e045 (diff)
downloadcpython-git-87e59ac11ee074b0dc1bc864c74fac0660b27f6e.tar.gz
bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests (GH-7683)
* make CallTip and ToolTip sub-classes of a common abstract base class * remove ListboxToolTip (unused and ugly) * greatly increase test coverage * tested on Windows, Linux and macOS
Diffstat (limited to 'Lib/idlelib/idle_test/htest.py')
-rw-r--r--Lib/idlelib/idle_test/htest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/idlelib/idle_test/htest.py b/Lib/idlelib/idle_test/htest.py
index 95f6274392..03bee51707 100644
--- a/Lib/idlelib/idle_test/htest.py
+++ b/Lib/idlelib/idle_test/htest.py
@@ -80,11 +80,14 @@ AboutDialog_spec = {
"are correctly displayed.\n [Close] to exit.",
}
+# TODO implement ^\; adding '<Control-Key-\\>' to function does not work.
_calltip_window_spec = {
'file': 'calltip_w',
'kwds': {},
'msg': "Typing '(' should display a calltip.\n"
"Typing ') should hide the calltip.\n"
+ "So should moving cursor out of argument area.\n"
+ "Force-open-calltip does not work here.\n"
}
_module_browser_spec = {