Your IP : 18.117.119.34


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_editor.cpython-36.pyc

3

� fu�@srdZddlmZddlZddlmZddlmZejZ	Gdd�dej
�ZGdd	�d	ej
�Ze
d
krnejdd�dS)
zTest editor, coverage 35%.�)�editorN)�requires)�Tkc@s,eZdZedd��Zedd��Zdd�ZdS)�EditorWindowTestcCstd�t�|_|jj�dS)NZgui)rr�rootZwithdraw)�cls�r�B/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_editor.py�
setUpClass
szEditorWindowTest.setUpClasscCsB|jj�x$|jjjdd�D]}|jj|�qW|jj�|`dS)N�after�info)rZupdate_idletasksZtkZcallZafter_cancelZdestroy)r�idrrr	�
tearDownClasss


zEditorWindowTest.tearDownClasscCs(t|jd�}|j|j|j�|j�dS)N)r)�Editorr�assertEqualZ_close)�self�errr	�	test_initszEditorWindowTest.test_initN)�__name__�
__module__�__qualname__�classmethodr
rrrrrr	rsrc@seZdZdd�ZdS)�EditorFunctionTestcCs@tj}Gdd�d�}d}x"|D]\}}|j|||�|�qWdS)
Nc@seZdZdZdS)z:EditorFunctionTest.test_filename_to_unicode.<locals>.dummyzutf-8N)rrrZfilesystemencodingrrrr	�dummy%sr�abc�a𑄑c�a�c�abc�a𑄑c�rr�rr�rr�rr)rr r!r")rZ_filename_to_unicoder)r�funcrZpairsZinp�outrrr	�test_filename_to_unicode#sz+EditorFunctionTest.test_filename_to_unicodeN)rrrr%rrrr	r!sr�__main__�)�	verbosity)�__doc__ZidlelibrZunittestZtest.supportrZtkinterrZEditorWindowrZTestCaserrr�mainrrrr	�<module>s

?>