
    ;e	                         	 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 )    )	runscriptN)requires)Tk)EditorWindowc                   @    e Zd Zed             Zed             Zd ZdS )ScriptBindingTestc                 |    t          d           t                      | _        | j                                         d S )Ngui)r   r   rootwithdraw)clss    7/usr/lib/python3.11/idlelib/idle_test/test_runscript.py
setUpClasszScriptBindingTest.setUpClass   s2    44    c                     | j                                          | j         j                            dd          D ]}| j                             |           | j                                          | ` d S )Nafterinfo)r   update_idletaskstkcallafter_canceldestroy)r   ids     r   tearDownClasszScriptBindingTest.tearDownClass   so    !!###(+""7F33 	& 	&BH!!"%%%%HHHr   c                     t          | j                  }t          j        |          }|                                 d S )N)r   )r   r   r   ScriptBinding_close)selfewsbs      r   	test_initzScriptBindingTest.test_init   s5    ty)))$R((
		r   N)__name__
__module____qualname__classmethodr   r   r!    r   r   r   r   
   sW          [
   [    r   r   __main__   )	verbosity)idlelibr   unittesttest.supportr   tkinterr   idlelib.editorr   TestCaser   r"   mainr&   r   r   <module>r1      s            ! ! ! ! ! !       ' ' ' ' ' '    )   , zHMA r   