summaryrefslogtreecommitdiff
path: root/Lib/idlelib/idle_test/test_calltip_w.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-08-04 23:47:28 -0700
committerGitHub <noreply@github.com>2018-08-04 23:47:28 -0700
commite65ec491fbaa14db61a6559eb269733616b0e7f0 (patch)
tree7a4a363ec0d8a07d42931266c922d7605de2dbdd /Lib/idlelib/idle_test/test_calltip_w.py
parent2a2a3f56f510844a5266f74f347a3fa3baee8ba2 (diff)
downloadcpython-git-e65ec491fbaa14db61a6559eb269733616b0e7f0.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 (cherry picked from commit 87e59ac11ee074b0dc1bc864c74fac0660b27f6e) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
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)