Your IP : 3.137.170.76
3
� fv � @ s� d Z ddlmZ ddlZddlmZ ddlmZ ddlZ ddl
Z
ddlZddlm
Z
ddlZddlmZ ddlmZ G d d
� d
ej�ZG dd� dej�ZG d
d� dej�Zedkr�ejddd� dS )zTest pathbrowser, coverage 95%.� )�pathbrowserN)�requires)�Tk)�Func)�browser)�TreeNodec @ sD e Zd Zedd� �Zedd� �Zdd� Zdd� Zd d
� Zdd� Z d
S )�PathBrowserTestc C s0 t d� t� | _| jj� tj| jdd�| _d S )NZguiT)Z_utest)r r �rootZwithdrawr ZPathBrowser�pb)�cls� r �G/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_pathbrowser.py�
setUpClass s
zPathBrowserTest.setUpClassc C s* | j j� | jj� | jj� | `| ` d S )N)r
�closer Zupdate_idletasks�destroy)r r r r
�
tearDownClass s
zPathBrowserTest.tearDownClassc C sD | j }| j}||j| j� |tji � | j|jt� | j t
j� d S )N)r
�assertEqualZmasterr �pyclbrZ_modules�assertIsInstance�noder ZassertIsNotNoner Z file_open)�selfr
�eqr r r
� test_init"