ok
Direktori : /proc/thread-self/root/proc/self/root/usr/lib64/python2.7/idlelib/idle_test/ |
Current File : //proc/thread-self/root/proc/self/root/usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyo |
� {fc @ sz d Z d d l m Z d d l Z d d l Z d d l m Z d e j f d � � YZ e d k rv e j d d � n d S( sT Test (selected) IDLE Edit menu items. Edit modules have their own test files files i����( t requiresN( t PyShellt PasteTestc B sb e Z d Z e d � � Z e d � � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( se Test pasting into widgets that allow pasting. On X11, replacing selections requires tk fix. c C s� t d � t j � | _ } | j � t j | � t j | � | _ t j | � | _ t j | � | _ | j � | j d � d S( Nt guit two( R t tkt Tkt roott withdrawR t fix_x11_pastet Textt textt Entryt entryt Spinboxt spint clipboard_cleart clipboard_append( t clsR ( ( s7 /usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyt setUpClass s c C sP | ` | ` | ` | j j � | j j � | j j � | j j � | ` d S( N( R R R R R t update_idletaskst updatet destroy( R ( ( s7 /usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyt tearDownClass s c C se | j } d \ } } | j d d � | j d d | � | j d � | j | j d d � | � d S( s+ Test pasting into text without a selection.t s onetwo s 1.0t endt ones <<Paste>>N( R s onetwo ( R t deletet insertt event_generatet assertEqualt get( t selfR t tagt ans( ( s7 /usr/lib64/python2.7/idlelib/idle_test/test_editmenu.pyt test_paste_text_no_selection&