ok
Direktori : /opt/alt/python27/lib64/python2.7/idlelib/idle_test/ |
Current File : //opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_widgetredir.pyo |
� �[ bc @ s� d Z d d l m Z d d l Z d d l m Z d d l m Z m Z m Z d d l m Z d e j f d � � YZ d e j f d � � YZ e d k r� e j d d � n d S( s5 Unittest for idlelib.WidgetRedirector 100% coverage i����( t requiresN( t Func( t Tkt Textt TclError( t WidgetRedirectort InitCloseTestc B s8 e Z e d � � Z e d � � Z d � Z d � Z RS( c C s9 t d � t � | _ | j j � t | j � | _ d S( Nt gui( R R t roott withdrawR t text( t cls( ( sG /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_widgetredir.pyt setUpClass s c C s | ` | j j � | ` d S( N( R R t destroy( R ( ( sG /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_widgetredir.pyt tearDownClass s c C sb t | j � } | j | j | j � | j | j | j j � | j t t | j � | j � d S( N( R R t assertEqualt widgett tkt assertRaisesR t close( t selft redir( ( sG /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_widgetredir.pyt test_init s c C sY t | j � } | j d t � | j � | j | j i � | j t | j d � � d S( Nt insertR ( R R t registerR R R t _operationst assertFalset hasattr( R R ( ( sG /opt/alt/python27/lib64/python2.7/idlelib/idle_test/test_widgetredir.pyt test_close"