Your IP : 3.135.206.19


Current Path : /opt/alt/python35/lib64/python3.5/idlelib/idle_test/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/idlelib/idle_test/__pycache__/test_rstrip.cpython-35.pyc



��YfM�@sjddlZddljZddlmZGdd�dej�Zedkrfej	dddd	�dS)
�N)�Editorc@s(eZdZdd�Zdd�ZdS)�
rstripTestcCs�t�}|j}tj|�j}|�|j|jdd�d�|jdd�|�|j|jdd�d�|jdd�|�|j|jdd�d�dS)Nz1.0�insert�z     z     
�
)r�text�rs�RstripExtension�	do_rstrip�assertEqual�getr)�self�editorrr
�r�B/opt/alt/python35/lib64/python3.5/idlelib/idle_test/test_rstrip.py�test_rstrip_lines		zrstripTest.test_rstrip_linecCsgt�}|j}tj|�j}d}d}|jd|�|�|j|jdd�|�dS)Nz�Line with an ending tab    
Line ending in 5 spaces     
Linewithnospaces
    indented line
    indented line with trailing space 
    zyLine with an ending tab
Line ending in 5 spaces
Linewithnospaces
    indented line
    indented line with trailing space
z1.0r)rrrr	r
rrr)r
rrr
ZoriginalZstrippedrrr�test_rstrip_multiples		zrstripTest.test_rstrip_multipleN)�__name__�
__module__�__qualname__rrrrrrrsr�__main__�	verbosity��exitF)
ZunittestZidlelib.RstripExtensionr	rZidlelib.idle_test.mock_idlerZTestCaserr�mainrrrr�<module>s
+

?>