관리-도구
편집 파일: test_autocomplete.cpython-35.pyc
��Yf5 � @ s� d d l Z d d l m Z d d l m Z m Z d d l j Z d d l j Z d d l m Z d d l m Z Gd d � d � Z Gd d � d � Z Gd d � d e j � Z e d k r� e j d d � d S)� N)�requires)�Tk�Text)�Func)�Eventc @ s e Z d Z d d � Z d S)�AutoCompleteWindowc C s d S)N� r r r �H/opt/alt/python35/lib64/python3.5/idlelib/idle_test/test_autocomplete.py�complete s zAutoCompleteWindow.completeN)�__name__� __module__�__qualname__r r r r r r s r c @ s e Z d Z d d � Z d S)�DummyEditwinc C s1 | | _ | | _ d | _ d | _ d | _ d S)N� T)�root�textZindentwidthZtabwidthZcontext_use_ps1)�selfr r r r r �__init__ s zDummyEditwin.__init__N)r r r r r r r r r s r c @ s� 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 d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)�AutoCompleteTestc C sD t d � t � | _ t | j � | _ t | j | j � | _ d S)NZgui)r r r r r r �editor)�clsr r r � setUpClass s zAutoCompleteTest.setUpClassc C s# | ` | ` | j j � | ` d S)N)r r r Zdestroy)r r r r � tearDownClass s zAutoCompleteTest.tearDownClassc C s/ | j j j d d � t j | j � | _ d S)Nz1.0�end)r r �delete�ac�AutoComplete�autocomplete)r r r r �setUp&