관리-도구
편집 파일: test_zoomheight.cpython-37.opt-1.pyc
B � f� � @ sf d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z G dd� dej �Zed krbej d d� dS )zTest zoomheight, coverage 66%.� )� zoomheightN)�requires)�Tk)�EditorWindowc @ s4 e Zd Zedd� �Zedd� �Zdd� Zdd� Zd S ) �Testc C s, t d� t� | _| j�� t| jd�| _d S )NZgui)�root)r r r Zwithdrawr �editwin)�cls� r �F/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_zoomheight.py� setUpClass s zTest.setUpClassc C sL | j �� | j�� x$| jj�dd�D ]}| j�|� q&W | j�� | `d S )NZafter�info)r Z_closer Zupdate_idletasksZtkZcallZafter_cancelZdestroy)r �idr r r � tearDownClass s zTest.tearDownClassc C s t �| j�}| �|j| j� d S )N)r � ZoomHeightr ZassertIs)�self�zoomr r r � test_init s zTest.test_initc C s t �| j�}|�� d S )N)r r r Zzoom_height_event)r r r r r �test_zoom_height_event! s zTest.test_zoom_height_eventN)�__name__� __module__�__qualname__�classmethodr r r r r r r r r s r �__main__� )� verbosity)�__doc__Zidlelibr ZunittestZtest.supportr Ztkinterr Zidlelib.editorr ZTestCaser r �mainr r r r �<module> s