
    ;eQ                         d Z ddlmZ ddlZddlmZ  ed           ddlmZmZm	Z	 ddl
mZ  G d d	ej                  Zed
k    r ej        d           dS dS )zTest help, coverage 87%.    )helpN)requiresgui)abspathdirnamejoin)Tkc                   @    e Zd Zed             Zed             Zd ZdS )HelpFrameTestc           	         t                      x| _        }|                                 t          t	          t	          t          t                                        d          }t          j        ||          | _	        dS )z9By itself, this tests that file parsed without exception.z	help.htmlN)
r	   rootwithdrawr   r   r   __file__r   	HelpFrameframe)clsr   helpfiles      2/usr/lib/python3.11/idlelib/idle_test/test_help.py
setUpClasszHelpFrameTest.setUpClass   s_     $$4(9(9 : :;;[IIN422			    c                 r    | ` | j                                         | j                                         | `d S )N)r   r   update_idletasksdestroy)r   s    r   tearDownClasszHelpFrameTest.tearDownClass   s8    I!!###HHHr   c                 r    | j         j        }|                     |                    dd          d           d S )Nz1.0z1.endz IDLE )r   textassertEqualget)selfr   s     r   
test_line1zHelpFrameTest.test_line1   s5    z%118<<<<<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HMA r   