Your IP : 3.21.12.122


Current Path : /opt/alt/python34/lib64/python3.4/idlelib/idle_test/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/idlelib/idle_test/__pycache__/test_rstrip.cpython-34.pyo

�
e fM�@smddlZddljZddlmZGdd�dej�Zedkriej	dddd	�ndS)
�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/python34/lib64/python3.4/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
+

?>