ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     ÿØÿà JFIF      ÿÛ „ 	 ( %!1!%)+//.383,7(-.+



-%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ               ÿÄ J  	     ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ              ÿÄ *        !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú
"SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5
ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍÑ¶¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e
ríV
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     
{fc           @   s\   d  Z  d d l m Z d e f d     YZ d e f d     YZ d e f d     YZ d	 S(
   sq   Mock classes that imitate idlelib modules or classes.

Attributes and methods will be added as needed for tests.
i(   t   Textt   Funcc           B   s#   e  Z d  Z d d  Z d   Z RS(   s  Mock function captures args and returns result set by test.

    Attributes:
    self.called - records call even if no args, kwds passed.
    self.result - set by init, returned by call.
    self.args - captures positional arguments.
    self.kwds - captures keyword arguments.

    Most common use will probably be to mock methods.
    Mock_tk.Var and Mbox_func are special variants of this.
    c         C   s(   t  |  _ | |  _ d  |  _ d  |  _ d  S(   N(   t   Falset   calledt   resultt   Nonet   argst   kwds(   t   selfR   (    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyt   __init__   s    			c         O   sD   t  |  _ | |  _ | |  _ t |  j t  r9 |  j  n |  j Sd  S(   N(   t   TrueR   R   R   t
   isinstanceR   t   BaseException(   R   R   R   (    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyt   __call__   s    			N(   t   __name__t
   __module__t   __doc__R   R	   R   (    (    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyR      s   t   Editorc           B   s,   e  Z d  Z d d d d d  Z d   Z RS(   s7   Minimally imitate EditorWindow.EditorWindow class.
    c         C   s   t    |  _ t   |  _ d  S(   N(   R    t   textt   UndoDelegatort   undo(   R   t   flistt   filenamet   keyt   root(    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyR	   &   s    c         C   s.   |  j  j d  } |  j  j d  } | | f S(   Ns   1.0t   end(   R   t   index(   R   t   firstt   last(    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyt   get_selection_indices*   s    N(   R   R   R   R   R	   R   (    (    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyR   #   s   R   c           B   s    e  Z d  Z d   Z d   Z RS(   s9   Minimally imitate UndoDelegator,UndoDelegator class.
    c          G   s   d  S(   N(    (   R   (    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyt   undo_block_start4   s    c          G   s   d  S(   N(    (   R   (    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyt   undo_block_stop6   s    (   R   R   R   R   R   (    (    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyR   0   s   	N(   R   t   idlelib.idle_test.mock_tkR    t   objectR   R   R   (    (    (    s3   /usr/lib64/python2.7/idlelib/idle_test/mock_idle.pyt   <module>   s   