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_help.cpython-312.opt-1.pyc
�

}h�e_���dZddlmZddlZddlmZed�ddlmZmZm	Z	ddl
mZGd�d	ej�Z
ed
k(rejd��yy)
zTest help, coverage 94%.�)�helpN)�requires�gui)�abspath�dirname�join)�Tkc�8�eZdZed��Zed��Zd�Zd�Zy)�IdleDocTestc�z�t�x|_}|j�tj|�|_y)z9By itself, this tests that file parsed without exception.N)r	�root�withdrawr�
show_idlehelp�window)�clsr
s  �B/opt/alt/python312/lib64/python3.12/idlelib/idle_test/test_help.py�
setUpClasszIdleDocTest.setUpClass
s-���$����4��
�
���'�'��-��
�c�t�|`|jj�|jj�|`y)N)rr
�update_idletasks�destroy)rs r�
tearDownClasszIdleDocTest.tearDownClasss,���J����!�!�#��������Hrc�X�|jd|jj��y)NzIDLE Doc)�assertInr�wm_title)�selfs r�test_1windowzIdleDocTest.test_1windows���
�
�j�$�+�+�"6�"6�"8�9rc��|jjj}|j|j	dd�d�y)Nz1.0z1.endz IDLE )r�frame�text�assertEqual�get)rr s  r�
test_4textzIdleDocTest.test_4texts2���{�{� � �%�%��������%��1�8�<rN)�__name__�
__module__�__qualname__�classmethodrrrr#�rrrrs2���.��.�����:�=rr�__main__�)�	verbosity)�__doc__�idlelibr�unittest�test.supportr�os.pathrrr�tkinterr	�TestCaserr$�mainr(rr�<module>r4sP�����!����*�*��=�(�#�#�=�0�z���H�M�M�A��r