관리-도구
편집 파일: test_outwin.cpython-37.opt-2.pyc
B YI~d� � @ s� d dl mZ d dlZd dlmZ d dlmZmZ d dlm Z d dl mZ d dlmZ G dd � d ej �ZG d d� dej �Zedkr�ejd d� dS )� )�outwinN)�requires)�Tk�Text)� Mbox_func)�Func)�mockc @ s\ e Zd Zedd� �Zedd� �Zdd� Zdd� Zd d � Zdd� Z d d� Z dd� Zdd� ZdS )�OutputWindowTestc C sF t d� t� }| _|�� t�d d d |� }| _t|� | _|_d S )NZgui) r r �rootZwithdrawr ZOutputWindow�windowr �text)�clsr �w� r �B/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_outwin.py� setUpClass s zOutputWindowTest.setUpClassc C s$ | j �� | `| ` | j�� | `d S )N)r �closer r Zdestroy)r r r r � tearDownClass s zOutputWindowTest.tearDownClassc C s | j �dd� d S )Nz1.0�end)r �delete)�selfr r r �setUp s zOutputWindowTest.setUpc C s* | j }| �|�d�� | �|�t�� d S )Nztest.txt)r ZassertFalseZispythonsource�__file__)r r r r r �test_ispythonsource s z$OutputWindowTest.test_ispythonsourcec C s | � | jj�� d� d S )NZOutput)�assertEqualr �top�title)r r r r �test_window_title&