관리-도구
편집 파일: test_rstrip.pyo
� {fc @ sm d d l Z d d l j Z d d l m Z d e j f d � � YZ e d k ri e j d d d e � n d S( i����N( t Editort rstripTestc B s e Z d � Z d � Z RS( c C s� t � } | j } t j | � j } | � | j | j d d � d � | j d d � | � | j | j d d � d � | j d d � | � | j | j d d � d � d S( Ns 1.0t insertt s s s ( R t textt rst RstripExtensiont do_rstript assertEqualt getR ( t selft editorR R ( ( s5 /usr/lib64/python2.7/idlelib/idle_test/test_rstrip.pyt test_rstrip_line s c C sg t � } | j } t j | � j } d } d } | j d | � | � | j | j d d � | � d S( Ns� Line with an ending tab Line ending in 5 spaces Linewithnospaces indented line indented line with trailing space sy Line with an ending tab Line ending in 5 spaces Linewithnospaces indented line indented line with trailing space s 1.0R ( R R R R R R R R ( R R R R t originalt stripped( ( s5 /usr/lib64/python2.7/idlelib/idle_test/test_rstrip.pyt test_rstrip_multiple s ( t __name__t __module__R R ( ( ( s5 /usr/lib64/python2.7/idlelib/idle_test/test_rstrip.pyR s t __main__t verbosityi t exit( t unittestt idlelib.RstripExtensionR R t idlelib.idle_test.mock_idleR t TestCaseR R t maint False( ( ( s5 /usr/lib64/python2.7/idlelib/idle_test/test_rstrip.pyt <module> s +