HEX
Server: Apache
System: Linux bd12.noc223.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: handcraf (1693)
PHP: 8.1.28
Disabled: NONE
Upload Files
File: //opt/alt/python312/lib64/python3.12/idlelib/idle_test/__pycache__/test_window.cpython-312.pyc
�

}h�e3���dZddlmZddlZddlmZddlmZGd�dej�Z	Gd�d	ej�Z
ed
k(rejd��yy)
zTest window, coverage 47%.�)�windowN)�requires)�Tkc��eZdZd�Zy)�WindowListTestc��tj�}|j|ji�|j|jg�y�N)r�
WindowList�assertEqual�dict�	callbacks)�self�wls  �D/opt/alt/python312/lib64/python3.12/idlelib/idle_test/test_window.py�	test_initzWindowListTest.test_inits8��
�
�
�
 ��������"�%�������r�*�N)�__name__�
__module__�__qualname__r�rrrr	s��+rrc�2�eZdZed��Zed��Zd�Zy)�ListedToplevelTestc��t�t_td�t	�|_|j
j
�y)N�gui)�setr�registryrr�root�withdraw��clss r�
setUpClasszListedToplevelTest.setUpClasss+���%�������4��������rc��tj�t_|jj	�|jj�|`yr	)rr
rr�update_idletasks�destroyrs r�
tearDownClassz ListedToplevelTest.tearDownClasss9�� �+�+�-������!�!�#�	�������Hrc��tj|j�}|j|tj�|j|j|�yr	)r�ListedToplevelr�assertInrr�focused_widget)r�wins  rrzListedToplevelTest.test_init%s>���#�#�D�I�I�.���
�
�c�6�?�?�+�����+�+�S�1rN)rrr�classmethodr!r%rrrrrrs-����������2rr�__main__�)�	verbosity)
�__doc__�idlelibr�unittest�test.supportr�tkinterr�TestCaserrr�mainrrr�<module>r6sU�����!��+�X�&�&�+�2��*�*�2�2�z���H�M�M�A��r