File manager - Edit - /opt/imh-python/lib/python2.7/test/test_rlcompleter.pyc
Back
� ��Wc @ s� d d l m Z d d l Z d d l Z d d l Z d e f d � � YZ d e j f d � � YZ d � Z e d k r� e � n d S( i����( t test_supportNt CompleteMec B s e Z d Z d Z RS( s6 Trivial class used in testing rlcompleter.Completer. i ( t __name__t __module__t __doc__t spam( ( ( sn /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_rlcompleter.pyR s t TestRlcompleterc B s5 e Z d � Z d � Z d � Z d � Z d � Z RS( c C sM t j � | _ t j t d t d t d t � � | _ | j j d d � d S( NR t eggR t i ( t rlcompletert Completert stdcompletert dictt intt strR t completert complete( t self( ( sn /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_rlcompleter.pyt setUp s c C s� d t f d � � Y} d t f d � � Y} | j | j j � | j | j j � | j t j | � � j � | j t t j | d � � d S( Nt Ac B s e Z RS( ( R R ( ( ( sn /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_rlcompleter.pyR s t Bc B s e Z RS( ( R R ( ( ( sn /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_rlcompleter.pyR s i ( i ( R t listt assertTrueR t use_main_nst assertFalseR R R t assertRaisest TypeError( R R R ( ( sn /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_rlcompleter.pyt test_namespace s c C s | j t | j j d � � g t t � D] } | j d � r( | d ^ q( � | j t | j j d � � g t t � D] } | j d � rv | d ^ qv � | j | j j d � g � | j | j j d � d g � | j | j j d � d g � | j | j j d � d g � d S( Nt dit (t stt akaksajadhakt CompleteMs CompleteMe(t egs egg(( t assertEqualt sortedR t global_matchest dirt builtinst startswithR ( R t x( ( sn /builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_rlcompleter.pyt test_global_matches s 33 c C s | j | j j d � g t t � D]$ } | j d � r"