관리-도구
편집 파일: test_parenmatch.cpython-35.opt-1.pyc
��Yf� � @ s� d Z d d l m Z e d � d d l Z d d l m Z d d l m Z m Z d d l m Z Gd d � d � Z Gd d � d e j � Z e d k r� e j d d � d S)z�Test idlelib.ParenMatch. This must currently be a gui test because ParenMatch methods use several text methods not defined on idlelib.idle_test.mock_tk.Text. � )�requiresZguiN)�Mock)�Tk�Text)� ParenMatchc @ s e Z d Z d d � Z d S)�DummyEditwinc C s( | | _ d | _ d | _ d | _ d S)N� T)�textZindentwidthZtabwidthZcontext_use_ps1)�selfr � r �F/opt/alt/python35/lib64/python3.5/idlelib/idle_test/test_parenmatch.py�__init__ s zDummyEditwin.__init__N)�__name__� __module__�__qualname__r r r r r r s r c @ sp e Z d Z e d d � � Z e d d � � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)�ParenMatchTestc C sC t � | _ t | j � | _ t | j � | _ t � | j _ d S)N)r �rootr r r �editwinr Z text_frame)�clsr r r � setUpClass s zParenMatchTest.setUpClassc C s0 | ` | ` | j j � | j j � | ` d S)N)r r r Zupdate_idletasksZdestroy)r r r r � tearDownClass s zParenMatchTest.tearDownClassc C s | j j d d � d S)Nz1.0�end)r Zdelete)r r r r �tearDown&