B
?7x»pÓ‹ã @ s´ d Z ddlmZmZ ddlmZ edƒ ddlmZ ddlZddl m
Z
mZmZ ddl
Z
dd „ Zd
d„ Zdd
„ Zdd„ ZG dd„ de
jƒZG dd„ de
jƒZedkr°e
jdd dS )zßTest tooltip, coverage 100%.
Coverage is 100% after excluding 6 lines with "# pragma: no cover".
They involve TclErrors that either should or should not happen in a
particular situation, and which are 'pass'ed if they do.
é )ÚTooltipBaseÚHovertip)ÚrequiresZgui)ÚwrapsN)ÚButtonÚTkÚToplevelc C s
t ƒ ad S )N)r Úroot© r
r
úC/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_tooltip.pyÚsetUpModule s r c C s t ¡ t ¡ b d S )N)r Zupdate_idletasksÚdestroyr
r
r
r ÚtearDownModule s r c s t ˆ ƒ‡ ‡fdd„ƒ‰g ˆ_ˆS )Nc s ˆj | |f¡ ˆ | |ŽS )N)Úcall_args_listÚappend)ÚargsÚkwargs)ÚfuncÚwrapped_funcr
r r s z'add_call_counting.