
    ;e                         d Z ddlmZ ddlZddlmZ ddl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 zoomheight, coverage 66%.    )
zoomheightN)requires)Tk)EditorWindowc                   F    e Zd Zed             Zed             Zd Zd ZdS )Testc                     t          d           t                      | _        | j                                         t	          | j                  | _        d S )Ngui)root)r   r   r   withdrawr   editwin)clss    8/usr/lib/python3.11/idlelib/idle_test/test_zoomheight.py
setUpClasszTest.setUpClass   sD    44"111    c                    | j                                          | j                                         | j        j                            dd          D ]}| j                            |           | j                                         | `d S )Nafterinfo)r   _closer   update_idletaskstkcallafter_canceldestroy)r   ids     r   tearDownClasszTest.tearDownClass   s    !!###(+""7F33 	& 	&BH!!"%%%%HHHr   c                 x    t          j        | j                  }|                     |j        | j                   d S N)r   
ZoomHeightr   assertIsselfzooms     r   	test_initzTest.test_init   s2    $T\22dlDL11111r   c                 `    t          j        | j                  }|                                 d S r   )r   r   r   zoom_height_eventr!   s     r   test_zoom_height_eventzTest.test_zoom_height_event!   s,    $T\22     r   N)__name__
__module____qualname__classmethodr   r   r$   r'    r   r   r   r      sf        2 2 [2   [2 2 2! ! ! ! !r   r   __main__   )	verbosity)__doc__idlelibr   unittesttest.supportr   tkinterr   idlelib.editorr   TestCaser   r(   mainr,   r   r   <module>r8      s               ! ! ! ! ! !       ' ' ' ' ' '! ! ! ! !8 ! ! !6 zHMA r   