Your IP : 13.59.69.58


Current Path : /opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/test_rstrip.cpython-36.pyc

3

� fE�@sNdZddlmZddlZddlmZGdd�dej�ZedkrJej	dd	�dS)
zTest rstrip, coverage 100%.�)�rstripN)�Editorc@seZdZdd�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�textr�Rstrip�	do_rstrip�assertEqual�getr)�self�editorrr
�r�B/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_rstrip.py�test_rstrip_line	szrstripTest.test_rstrip_linecCsJt�}|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
Zoriginal�strippedrrr�test_rstrip_multipleszrstripTest.test_rstrip_multipleN)�__name__�
__module__�__qualname__rrrrrrrsr�__main__�)�	verbosity)
�__doc__ZidlelibrZunittestZidlelib.idle_test.mock_idlerZTestCaserr�mainrrrr�<module>s-

?>