
    ;eQ                         	 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 )    )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 )Nz	help.html)
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`    C$$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)idlelibr   unittesttest.supportr   os.pathr   r   r   tkinterr	   TestCaser   r!   mainr%   r   r   <module>r0      s            ! ! ! ! ! !  * * * * * * * * * *      = = = = =H% = = =, zHMA r   