Your IP : 18.222.118.236


Current Path : /opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/test_statusbar.cpython-36.pyc

3

� fm�@sZdZddlmZddlZddlmZddlmZGdd�dej�Z	e
dkrVejd	d
�dS)zTest statusbar, coverage 100%.�)�	statusbarN)�requires)�Tkc@s4eZdZedd��Zedd��Zdd�Zdd�Zd	S)
�TestcCstd�t�|_|jj�dS)NZgui)rr�rootZwithdraw)�cls�r�E/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_statusbar.py�
setUpClassszTest.setUpClasscCs|jj�|jj�|`dS)N)rZupdate_idletasksZdestroy)rrrr	�
tearDownClasss

zTest.tearDownClasscCstj|j�}|j|ji�dS)N)r�MultiStatusBarr�assertEqual�labels)�self�barrrr	�	test_initszTest.test_initcCs�tj|j�}|jdddd�|jd|j�|jd}|j|dd�|j|dd�|jddd�|j|dd�|jd	d
d�|j|jd	dd
�dS)N�leftZsometext�
)�text�widthrrzrevised text)r�rightzcorrect text)rrrZ	set_labelZassertInrr
)rrrrrr	�test_set_labels
zTest.test_set_labelN)�__name__�
__module__�__qualname__�classmethodr
rrrrrrr	r	sr�__main__�)�	verbosity)�__doc__ZidlelibrZunittestZtest.supportrZtkinterrZTestCaserr�mainrrrr	�<module>s

?>