Your IP : 3.144.96.19
B
� 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� | _| j�� tj| jdd�| _d S )NZguiT)Z_utest)r r �rootZwithdrawr ZPathBrowser�pb)�cls� r �G/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_pathbrowser.py�
setUpClass s
zPathBrowserTest.setUpClassc C s* | j �� | j�� | j�� | `| ` d S )N)r
�closer Zupdate_idletasks�destroy)r r r r
�
tearDownClass s
zPathBrowserTest.tearDownClassc C sD | j }| j}||j| j� |tji � | �|jt� | � t
j� d S )N)r
�assertEqualZmasterr �pyclbrZ_modules�assertIsInstance�noder ZassertIsNotNoner Z file_open)�selfr
�eqr r r
� test_init"