MCPcopy Index your code
hub / github.com/python/cpython / test_hidetip

Method test_hidetip

Lib/idlelib/idle_test/test_tooltip.py:93–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

91 self.assertIs(tooltip.tipwindow, orig_tipwindow)
92
93 def test_hidetip(self):
94 tooltip = Hovertip(self.button, 'ToolTip text')
95 self.addCleanup(tooltip.hidetip)
96 tooltip.showtip()
97 tooltip.hidetip()
98 self.assertFalse(self.is_tipwindow_shown(tooltip))
99
100 def test_showtip_on_mouse_enter_no_delay(self):
101 tooltip = Hovertip(self.button, 'ToolTip text', hover_delay=None)

Callers

nothing calls this directly

Calls 6

is_tipwindow_shownMethod · 0.95
HovertipClass · 0.90
addCleanupMethod · 0.80
assertFalseMethod · 0.80
showtipMethod · 0.45
hidetipMethod · 0.45

Tested by

no test coverage detected