ok
Direktori : /lib64/python2.7/lib-tk/test/test_tkinter/ |
Current File : //lib64/python2.7/lib-tk/test/test_tkinter/test_misc.pyc |
� zfc @ s� d d l Z d d l Z d d l m Z m Z d d l m Z e d � d e e j f d � � YZ e f Z e d k r� e e � n d S( i����N( t requirest run_unittest( t AbstractTkTestt guit MiscTestc B s# e Z d � Z d � Z d � Z RS( c s� | j } i d d 6� d d � f d � } | j | j d � � d � d <| j d | � } | j | | j j d d � � | j j | j j d d | � � \ } } | j � | j � d d � | j t j � � | j j | � Wd QXd � d <| j d | d d � } | j � | j � d d � | j d | � } | j | | j j d d � � | j j | j j d d | � � \ } } | j | � | j � d d � | j t j � � | j j | � Wd QXd S( Ni t counti c s | | � d <d S( NR ( ( t startt step( t cbcount( s: /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_misc.pyt callback s t aftert infoi* i i5 i� ( t roott assertIsNoneR t assertInt tkt callt splitlistt updatet assertEqualt assertRaisest tkintert TclErrort after_cancel( t selfR R t timer1t scriptt _( ( R s: /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_misc.pyt test_after s. * * c s� | j } i d d 6� d d � f d � } d � d <| j | � } | j | | j j d d � � | j j | j j d d | � � \ } } | j � | j � d d � | j t j � � | j j | � Wd QXd � d <| j | d d � } | j � | j � d d � | j | � } | j | | j j d d � � | j j | j j d d | � � \ } } | j | � | j � d d � | j t j � � | j j | � Wd QXd S( Ni R i c s | | � d <d S( NR ( ( R R ( R ( s: /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_misc.pyR 1 s R R i* i i5 ( R t after_idleR R R R t update_idletasksR R R R R ( R R R t idle1R R ( ( R s: /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_misc.pyt test_after_idle- s, * * c s | j } i d d 6� � f d � } | j d | � } | j | � } | j t � � | j d � Wd QXd � d <| j j | j j d d | � � \ } } | j j | � | j � d d � | j | � | j t j � � | j j | � Wd QX| j � d d � | j t j � � | j j d d | � Wd QX| j | � d � d <| j j | j j d d | � � \ } } | j j | � | j � d d � | j | � | j t j � � | j j | � Wd QX| j � d d � | j t j � � | j j d d | � Wd QXd S( Ni R c s � d c d 7<d S( NR i ( ( ( R ( s: /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_misc.pyR Q s i� R R i ( R R R R t ValueErrorR t NoneR R R R R R ( R R R R R R R ( ( R s: /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_misc.pyt test_after_cancelM s8 * * ( t __name__t __module__R R R# ( ( ( s: /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_misc.pyR s # t __main__( t unittestt TkinterR t test.test_supportR R t test_ttk.supportR t TestCaseR t tests_guiR$ ( ( ( s: /usr/lib64/python2.7/lib-tk/test/test_tkinter/test_misc.pyt <module> s o