관리-도구
편집 파일: test_textview.cpython-37.opt-1.pyc
B � f� � @ s d Z ddlmZ ddlmZ ed� ddlZddlZddlm Z m Z mZmZm Z ddlmZ ddlmZ dd lmZ d d� Zdd � ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�ZG dd� dej�Zedk�rej dd� 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. � )�textview)�requiresZguiN)�Tk�TclError�CHAR�NONE�WORD)�Button)�Func)� Mbox_funcc C s t � at�� d S )N)r �root�withdraw� r r �D/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_textview.py�setUpModule s r c C s t �� t �� 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"