Your IP : 3.144.98.61
��YfR � @ s� d Z d d l m Z e d � d d l Z d d l Z d d l m Z d d l m Z d d l
m Z d d l m
Z
d d
� Z d d � Z Gd
d � d e j � Z Gd d � d e j � Z Gd d � d e j � Z e d k r� e j d d � d S)a+ Test idlelib.textView.
Since all methods and functions create (or destroy) a TextViewer, which
is a widget containing multiple widgets, all tests must be gui tests.
Using mock Text would not change this. Other mocks are used to retrieve
information about calls.
The coverage is essentially 100%.
� )�requiresZguiN)�Tk)�textView)�Func)�Mboxc C s t � a t j � d S)N)r �rootZwithdraw� r r �D/opt/alt/python35/lib64/python3.5/idlelib/idle_test/test_textview.py�setUpModule s r
c C s t j � t j � b d S)N)r Zupdate_idletasks�destroyr r r r �tearDownModule s
r c @ s+ e Z d Z e � Z e � Z e � Z d S)�TVN)�__name__�
__module__�__qualname__r � transient�grab_set�wait_windowr r r r r
s r
c @ s@ e Z d Z d d � Z d d � Z d d � Z d d � Z d S)
�TextViewTestc C s+ t j j � t j j � t j j � d S)N)r
r �__init__r r )�selfr r r �setUp'