관리-도구
편집 파일: test_autocomplete_w.cpython-37.pyc
B � f� � @ s^ d Z ddlZddlmZ ddlmZmZ ddlmZ G dd� dej �ZedkrZej dd � dS ) z"Test autocomplete_w, coverage 11%.� N)�requires)�Tk�Textc @ s, e Zd Zedd� �Zedd� �Zdd� ZdS )�AutoCompleteWindowTestc C s8 t d� t� | _| j�� t| j�| _t�| j�| _d S )NZgui)r r �rootZwithdrawr �text�acwZAutoCompleteWindow)�cls� r �J/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_autocomplete_w.py� setUpClass s z!AutoCompleteWindowTest.setUpClassc C s$ | ` | `| j�� | j�� | `d S )N)r r r Zupdate_idletasksZdestroy)r r r r � tearDownClass s z$AutoCompleteWindowTest.tearDownClassc C s | � | jj| j� d S )N)ZassertEqualr Zwidgetr )�selfr r r � test_init s z AutoCompleteWindowTest.test_initN)�__name__� __module__�__qualname__�classmethodr r r r r r r r s r �__main__� )� verbosity)�__doc__ZunittestZtest.supportr Ztkinterr r Zidlelib.autocomplete_wZautocomplete_wr ZTestCaser r �mainr r r r �<module> s