| 297 | |
| 298 | |
| 299 | class WrappedCalltip(calltip.Calltip): |
| 300 | def _make_tk_calltip_window(self): |
| 301 | return mock_TipWindow() |
| 302 | |
| 303 | def remove_calltip_window(self, event=None): |
| 304 | if self.active_calltip: # Setup to None. |
| 305 | self.active_calltip = None |
| 306 | self.tips_removed += 1 # Setup to 0. |
| 307 | |
| 308 | def fetch_tip(self, expression): |
| 309 | return 'tip' |
| 310 | |
| 311 | |
| 312 | class CalltipTest(unittest.TestCase): |
no outgoing calls
searching dependent graphs…