summaryrefslogtreecommitdiff
path: root/Lib/idlelib/idle_test/test_calltip_w.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/test_calltip_w.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/test_calltip_w.py')
-rw-r--r--Lib/idlelib/idle_test/test_calltip_w.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/idle_test/test_calltip_w.py b/Lib/idlelib/idle_test/test_calltip_w.py
index 59e69677e6..a5ec76e15f 100644
--- a/Lib/idlelib/idle_test/test_calltip_w.py
+++ b/Lib/idlelib/idle_test/test_calltip_w.py
@@ -23,7 +23,7 @@ class CallTipWindowTest(unittest.TestCase):
del cls.text, cls.root
def test_init(self):
- self.assertEqual(self.calltip.widget, self.text)
+ self.assertEqual(self.calltip.anchor_widget, self.text)
if __name__ == '__main__':
unittest.main(verbosity=2)