Your IP : 18.118.28.160


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_window.cpython-36.pyc

3

� f3�@sldZddlmZddlZddlmZddlmZGdd�dej�Z	Gdd	�d	ej�Z
ed
krhejdd�dS)
zTest window, coverage 47%.�)�windowN)�requires)�Tkc@seZdZdd�ZdS)�WindowListTestcCs(tj�}|j|ji�|j|jg�dS)N)r�
WindowList�assertEqual�dictZ	callbacks)�selfZwl�r
�B/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_window.py�	test_initszWindowListTest.test_initN)�__name__�
__module__�__qualname__rr
r
r
rr	src@s,eZdZedd��Zedd��Zdd�ZdS)�ListedToplevelTestcCs&t�t_td�t�|_|jj�dS)NZgui)�setr�registryrr�rootZwithdraw)�clsr
r
r�
setUpClassszListedToplevelTest.setUpClasscCs&tj�t_|jj�|jj�|`dS)N)rrrrZupdate_idletasksZdestroy)rr
r
r�
tearDownClasss


z ListedToplevelTest.tearDownClasscCs,tj|j�}|j|tj�|j|j|�dS)N)rZListedToplevelrZassertInrrZfocused_widget)r	�winr
r
rr%szListedToplevelTest.test_initN)r
rr�classmethodrrrr
r
r
rrs	r�__main__�)�	verbosity)
�__doc__ZidlelibrZunittestZtest.supportrZtkinterrZTestCaserrr
�mainr
r
r
r�<module>s


?>