ÿØÿà 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
..............................................................................................................................................................................
.............................................................................                                                  
                                                                                                                                                                                     
zfc           @   s  d  d l  Z  d  d l Z d  d l m Z m Z m Z m Z m Z m Z m	 Z	 d e  j
 f d     YZ d e f d     YZ d e f d     YZ d	 e f d
     YZ d e f d     YZ d e f d     YZ e e e e e f Z e d k rd  d l m Z e e   n  d S(   iN(   t   Variablet	   StringVart   IntVart	   DoubleVart
   BooleanVart   Tclt   TclErrort   TestBasec           B   s   e  Z d    Z d   Z RS(   c         C   s   t    |  _ d  S(   N(   R   t   root(   t   self(    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   setUp	   s    c         C   s
   |  `  d  S(   N(   R   (   R	   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   tearDown   s    (   t   __name__t
   __module__R
   R   (    (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyR      s   	t   TestVariablec           B   sY   e  Z d    Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z	 d   Z
 RS(	   c         G   s"   |  j  j |  j  j d d |   S(   Nt   infot   exists(   R   t
   getbooleant   call(   R	   t   args(    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   info_exists   s    c         C   s?   t  |  j  } |  j d | j    |  j t |  d  d  S(   Nt    s   ^PY_VAR(\d+)$(   R    R   t   assertEqualt   gett   assertRegexpMatchest   str(   R	   t   v(    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_default   s    c         C   sE   t  |  j d d  } |  j d | j    |  j d t |   d  S(   Ns   sample stringt   varname(   R    R   R   R   R   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_name_and_value   s    c         C   s^   |  j  |  j d   t |  j d d  } |  j |  j d   ~ |  j  |  j d   d  S(   NR   s   sample string(   t   assertFalseR   R    R   t
   assertTrue(   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test___del__   s
    c         C   sv   |  j  |  j d   t |  j d d } t |  j d d } ~ |  j  |  j d   ~ |  j  |  j d   d  S(   NR   t   name(   R   R   R    R   (   R	   t   v1t   v2(    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_dont_unset_not_existing&   s    c         C   sx   t  |  j d d } t  |  j d d } |  j | |  t  |  j d d } t |  j d d } |  j | |  d  S(   NR!   t   abc(   R    R   R   R   t   assertNotEqual(   R	   R"   R#   t   v3t   v4(    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test___eq__0   s    c         C   s-   |  j  t   t |  j d d Wd  QXd  S(   NR!   i{   (   t   assertRaisest	   TypeErrorR    R   (   R	   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_invalid_name:   s    c      	   C   s   |  j  t   t |  j d d Wd  QX|  j  t   |  j j d d  Wd  QX|  j  t   |  j j d d  Wd  QXd  S(   NR!   s   var namet   value(   R*   t
   ValueErrorR    R   t   globalsetvart   setvar(   R	   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_null_in_name>   s    c            so  t  |  j  } t |  } g      f d   }   f d   } | j d |  } | j d |  } |  j t | j    d | f d | f g  |  j   g   | j d  |  j   d | d d f g  g    | j   |  j   d	 | d d f g  g    t | j    } | j	 d |  |  j t | j    |  |  j
 t   | j	 d d  Wd  QX|  j t | j    |  | j	 d | d
 f  |  j t | j    |  | j   |  j   d	 | d d f g  g    | j	 d |  |  j | j   d | f g  | j   |  j   g   g    ~ t j   | j d  |  j   d | d d f g  d  S(   Nc             s     j  d |   d  S(   Nt   read(   R2   (   t   append(   R   (   t   trace(    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   read_tracerJ   s    c             s     j  d |   d  S(   Nt   write(   R6   (   R3   (   R   (   R4   (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   write_tracerL   s    t   rt   wut   spamR6   R   t   wR2   i+   t   eggs(   R    R   R   t   trace_variableR   t   sortedt   trace_vinfot   setR   t   trace_vdeleteR*   R   t   gct   collect(   R	   R   t   vnameR5   R7   t   cb1t   cb2R   (    (   R4   s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt
   test_traceF   sF    .



(   R   R   R   R   R   R    R$   R)   R,   R1   RG   (    (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyR      s   					
	
		t   TestStringVarc           B   s#   e  Z d    Z d   Z d   Z RS(   c         C   s)   t  |  j  } |  j d | j    d  S(   NR   (   R   R   R   R   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyR   z   s    c         C   sX   t  |  j d d  } |  j d | j    |  j j d d  |  j d | j    d  S(   NR%   R!   R-   (   R   R   R   R   R/   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_get~   s    c         C   sX   t  |  j d d  } |  j d | j    |  j j d d  |  j d | j    d  S(   Ns   abc defR!   s   val ue(   R   R   R   R   R/   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_get_null   s    (   R   R   R   RI   RJ   (    (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRH   x   s   		t
   TestIntVarc           B   s#   e  Z d    Z d   Z d   Z RS(   c         C   s)   t  |  j  } |  j d | j    d  S(   Ni    (   R   R   R   R   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyR      s    c         C   sX   t  |  j d d  } |  j d | j    |  j j d d  |  j d | j    d  S(   Ni{   R!   t   345iY  (   R   R   R   R   R/   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRI      s    c         C   s   t  |  j d d } |  j j d d  |  j t   | j   Wd  QX|  j j d d  |  j t   | j   Wd  QXd  S(   NR!   R-   s   345.0(   R   R   R/   R*   R.   R   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_invalid_value   s    (   R   R   R   RI   RM   (    (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRK      s   		t   TestDoubleVarc           B   s,   e  Z d    Z d   Z d   Z d   Z RS(   c         C   s)   t  |  j  } |  j d | j    d  S(   Ng        (   R   R   R   R   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyR      s    c         C   sX   t  |  j d d  } |  j d | j    |  j j d d  |  j d | j    d  S(   NgGz?R!   s   3.45g@(   R   R   t   assertAlmostEqualR   R/   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRI      s    c         C   s   t  |  j d d  } |  j d | j    |  j j d d  |  j d | j    |  j j d d  |  j d | j    d  S(   NgGz?R!   s   3.45g@t   456i  (   R   R   RO   R   R/   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_get_from_int   s    c         C   sL   t  |  j d d } |  j j d d  |  j t   | j   Wd  QXd  S(   NR!   R-   (   R   R   R/   R*   R.   R   (   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRM      s    (   R   R   R   RI   RQ   RM   (    (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRN      s   			t   TestBooleanVarc           B   s,   e  Z d    Z d   Z d   Z d   Z RS(   c         C   s)   t  |  j  } |  j | j   t  d  S(   N(   R   R   t   assertIsR   t   False(   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyR      s    c         C   s  t  |  j t d  } |  j | j   t  |  j j d d  |  j | j   t  |  j j d |  j j   ru d n d  |  j | j   t  |  j j d d  |  j | j   t  |  j j d |  j j   r d n d  |  j | j   t  |  j j d d  |  j | j   t  |  j j d d	  |  j | j   t  |  j j d d
  |  j | j   t  |  j j d d  |  j | j   t  d  S(   NR!   t   0i*   i   i    l   * l    l    t   onu   0u   on(   R   R   t   TrueRS   R   R/   RT   t   wantobjects(   R	   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRI      s$    ((c         C   s  |  j  j   r d n d } |  j  j   r0 d n d } t |  j  d d } | j t  |  j |  j  j d  |  | j d  |  j |  j  j d  |  | j d  |  j |  j  j d  |  | j d  |  j |  j  j d  |  | j d  |  j |  j  j d  |  | j d  |  j |  j  j d  |  | j d	  |  j |  j  j d  |  | j d
  |  j |  j  j d  |  | j d  |  j |  j  j d  |  d  S(   Ni   t   1i    RU   R!   i*   l   * l    RV   u   0u   on(   R   RX   R   R@   RW   R   t   globalgetvar(   R	   t   truet   falseR   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_set   s*    c         C   s   |  j  j   r d n d } t |  j  d d } |  j t   | j d  Wd  QX|  j |  j  j d  |  |  j  j d d  |  j t   | j	   Wd  QX|  j  j d d  |  j t   | j	   Wd  QXd  S(   Ni    RU   R!   R-   s   1.0(
   R   RX   R   R*   R   R@   R   RZ   R/   R   (   R	   R\   R   (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   test_invalid_value_domain   s    (   R   R   R   RI   R]   R^   (    (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyRR      s   			t   __main__(   t   run_unittest(   t   unittestRB   t   TkinterR    R   R   R   R   R   R   t   TestCaseR   R   RH   RK   RN   RR   t	   tests_guiR   t   test.supportR`   (    (    (    s?   /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_variables.pyt   <module>   s   4	h?	