관리-도구
편집 파일: test_tree.cpython-36.pyc
3 � f � @ sb d Z ddlmZ ddlZddlmZ ed� ddlmZ G dd� dej�Z e d kr^ejd d� dS )zTest tree. coverage 56%.� )�treeN)�requiresZgui)�Tkc @ s, e Zd Zedd� �Zedd� �Zdd� ZdS )�TreeTestc C s t � | _| jj� d S )N)r �rootZwithdraw)�cls� r �@/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_tree.py� setUpClass s zTreeTest.setUpClassc C s | j j� | ` d S )N)r Zdestroy)r r r r � tearDownClass s zTreeTest.tearDownClassc C sN t j| jdddd�}|jjdddd� t jt j�}t j|jd |�}|j � d S )NZwhiter � )ZbgZhighlightthicknessZ takefocusZboth�left)�expandZfillZside) r ZScrolledCanvasr �frameZpackZFileTreeItemZICONDIRZTreeNodeZcanvasr )�selfZsc�itemZnoder r r � test_init s zTreeTest.test_initN)�__name__� __module__�__qualname__�classmethodr r r r r r r r s r �__main__� )� verbosity)�__doc__Zidlelibr ZunittestZtest.supportr Ztkinterr ZTestCaser r �mainr r r r �<module> s