File: //lib64/python2.7/idlelib/idle_test/test_autoexpand.pyc
ó
{fc @ s— d Z d d l Z d d l m Z d d l m Z m Z d d l m Z d d
d „ ƒ YZ d e j
f d „ ƒ YZ e d
k r“ e j
d d ƒ n d S( s! Unit tests for idlelib.AutoExpandiÿÿÿÿN( t requires( t Textt Tk( t
AutoExpandt
Dummy_Editwinc B s e Z d „ Z RS( c C s
| | _ d S( N( t text( t selfR ( ( s9 /usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt __init__ s ( t __name__t
__module__R ( ( ( s9 /usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyR s t AutoExpandTestc B s\ e Z e d „ ƒ Z e d „ ƒ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
RS( c C se d t t ƒ k r= t d ƒ t ƒ | _ t | j ƒ | _ n t ƒ | _ t t | j ƒ ƒ | _ d S( Nt Tkintert gui( t strR R R t tkR R R t auto_expand( t cls( ( s9 /usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt
setUpClass s
c C s5 | ` | ` t | d ƒ r1 | j j ƒ | ` n d S( NR ( R R t hasattrR t destroy( R ( ( s9 /usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt
tearDownClass s
c C s | j j d d ƒ d S( Ns 1.0t end( R t delete( R ( ( s9 /usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt tearDown! s c C s | j } | j j } | j } | | ƒ d ƒ | j d d ƒ | | ƒ d ƒ | j d d ƒ | | ƒ d ƒ | j d d ƒ | | ƒ d ƒ | j d d ƒ | | ƒ d ƒ | j d d ƒ | | ƒ d ƒ | j d
d ƒ | | ƒ d ƒ | j d d ƒ | | ƒ d ƒ d S(
Nt t insertt tt hist thist t iss
sample
stringt strings 3.0s 1.0R ( R R t getprevwordt assertEqualR R ( R R t previoust equal( ( s9 /usr/lib64/python2.7/idlelib/idle_test/test_autoexpand.pyt test_get_prevword$ s$ c C s | j j } | j j } | j } | j j d d ƒ | | j j ƒ d d d d g ƒ | d ƒ | | ƒ d ƒ | d ƒ | | ƒ d ƒ | d ƒ | | ƒ d ƒ | d ƒ | | ƒ d ƒ d S( NR s ab ac bx ad ab at abt adt act at event( R R t expand_word_eventR! R R t getwords( R R"