� {fc@smddlZddljZddlmZdejfd��YZedkriej ddde �ndS( i����N(tEditort rstripTestcBseZd�Zd�ZRS(cCs�t�}|j}tj|�j}|�|j|jdd�d�|jdd�|�|j|jdd�d�|jdd�|�|j|jdd�d�dS(Ns1.0tinsertts s s (RttexttrstRstripExtensiont do_rstript assertEqualtgetR(tselfteditorRR((s5/usr/lib64/python2.7/idlelib/idle_test/test_rstrip.pyttest_rstrip_lines  cCsgt�}|j}tj|�j}d}d}|jd|�|�|j|jdd�|�dS(Ns�Line with an ending tab Line ending in 5 spaces Linewithnospaces indented line indented line with trailing space syLine with an ending tab Line ending in 5 spaces Linewithnospaces indented line indented line with trailing space s1.0R(RRRRRRRR (R R RRtoriginaltstripped((s5/usr/lib64/python2.7/idlelib/idle_test/test_rstrip.pyttest_rstrip_multiples  (t__name__t __module__R R(((s5/usr/lib64/python2.7/idlelib/idle_test/test_rstrip.pyRs t__main__t verbosityitexit( tunittesttidlelib.RstripExtensionRRtidlelib.idle_test.mock_idleRtTestCaseRRtmaintFalse(((s5/usr/lib64/python2.7/idlelib/idle_test/test_rstrip.pyts +