관리-도구
편집 파일: test_textview.cpython-36.opt-1.pyc
3 � f � @ s� d Z ddlmZ ddlZddlmZ ed� ddlZddlm Z ddl mZ ddlm Z dd lmZ d d� Zdd � ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�Zedkr�ejdd� dS )a Test textview, coverage 100%. Since all methods and functions create (or destroy) a ViewWindow, which is a widget containing a widget, etcetera, all tests must be gui tests. Using mock Text would not change this. Other mocks are used to retrieve information about calls. � )�textviewN)�requiresZgui)�Tk)�Button)�Func)� Mbox_funcc C s t � atj� d S )N)r �root�withdraw� r r �D/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_textview.py�setUpModule s r c C s t j� t j� b d S )N)r �update_idletasks�destroyr r r r �tearDownModule s r c @ s e Zd Ze� Ze� Ze� ZdS )�VWN)�__name__� __module__�__qualname__r � transient�grab_set�wait_windowr r r r r # s r c @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S ) �ViewWindowTestc C s"