File: D:/Python311/Lib/idlelib/idle_test/__pycache__/test_help.cpython-311.pyc
�
��Vcs � � � d Z ddlmZ ddlZddlmZ ed� � ddlmZmZm Z ddl
mZ G d� d ej � � Z
ed
k r ej d�� � dS dS )
zTest help, coverage 87%.� )�helpN)�requires�gui)�abspath�dirname�join)�Tkc �@ � e Zd Zed� � � Zed� � � Zd� ZdS )�
HelpFrameTestc � � t � � x| _ }|� � � t t t t t � � � � � � d� � }t j ||� � | _ dS )z9By itself, this tests that file parsed without exception.z help.htmlN)
r �root�withdrawr r r �__file__r � HelpFrame�frame)�clsr
�helpfiles �/D:\Python311\Lib\idlelib\idle_test\test_help.py�
setUpClasszHelpFrameTest.setUpClass
s_ � � �$�$����4��
�
���������(9�(9� :� :�;�;�[�I�I���N�4��2�2�� � � � c �r � | ` | j � � � | j � � � | `d S )N)r r
�update_idletasks�destroy)r s r �
tearDownClasszHelpFrameTest.tearDownClass s8 � ��I���!�!�#�#�#���������H�H�Hr c �r � | j j }| � |� dd� � d� � d S )Nz1.0z1.endz IDLE )r �text�assertEqual�get)�selfr s r �
test_line1zHelpFrameTest.test_line1 s5 � ��z���������%��1�1�8�<�<�<�<�<r N)�__name__�
__module__�__qualname__�classmethodr r r � r r r r sW � � � � � ��3� 3� �[�3� �� � �[��=� =� =� =� =r r �__main__� )� verbosity)�__doc__�idlelibr �unittest�test.supportr �os.pathr r r �tkinterr �TestCaser r! �mainr% r r �<module>r1 s� �� � � � � � � � � ���� !� !� !� !� !� !� ������ *� *� *� *� *� *� *� *� *� *� � � � � � �=� =� =� =� =�H�%� =� =� =�, �z�� ��H�M�A�������� r