Your IP : 216.73.216.213


Current Path : /opt/alt/python311/lib64/python3.11/idlelib/idle_test/__pycache__/
Upload File :
Current File : //opt/alt/python311/lib64/python3.11/idlelib/idle_test/__pycache__/test_window.cpython-311.pyc

�

�0�i3���dZddlmZddlZddlmZddlmZGd�dej��Z	Gd�d	ej��Z
ed
krejd���dSdS)
zTest window, coverage 47%.�)�windowN)�requires)�Tkc��eZdZd�ZdS)�WindowListTestc��tj��}|�|ji��|�|jg��dS�N)r�
WindowList�assertEqual�dict�	callbacks)�self�wls  �D/opt/alt/python311/lib64/python3.11/idlelib/idle_test/test_window.py�	test_initzWindowListTest.test_initsF��
�
�
 �
 �������"�%�%�%������r�*�*�*�*�*�N)�__name__�
__module__�__qualname__r�rrrr	s#������+�+�+�+�+rrc�@�eZdZed���Zed���Zd�ZdS)�ListedToplevelTestc��t��t_td��t	��|_|j���dS)N�gui)�setr�registryrr�root�withdraw��clss r�
setUpClasszListedToplevelTest.setUpClasss=���%�%���������4�4�����������rc��tj��t_|j���|j���|`dSr	)rr
rr�update_idletasks�destroyrs r�
tearDownClassz ListedToplevelTest.tearDownClasssE�� �+�-�-�����!�!�#�#�#�	��������H�H�Hrc��tj|j��}|�|tj��|�|j|��dSr	)r�ListedToplevelr�assertInrr�focused_widget)r�wins  rrzListedToplevelTest.test_init%sI���#�D�I�.�.���
�
�c�6�?�+�+�+�����+�S�1�1�1�1�1rN)rrr�classmethodr!r%rrrrrrsW����������[������[��2�2�2�2�2rr�__main__�)�	verbosity)
�__doc__�idlelibr�unittest�test.supportr�tkinterr�TestCaserrr�mainrrr�<module>r6s���������������!�!�!�!�!�!�������+�+�+�+�+�X�&�+�+�+�2�2�2�2�2��*�2�2�2�2�z����H�M�A��������r