. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| Server IP : 162.0.212.4 / Your IP :
216.73.216.221 [
Web Server : LiteSpeed System : Linux premium146.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : alshnoli ( 2431) PHP Version : 8.3.28 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python36/lib64/python3.6/idlelib/idle_test/__pycache__/ |
Upload File : |
3
� fu � @ sr d Z ddlmZ ddlZddlmZ ddlmZ ejZ G dd� dej
�ZG dd � d ej
�Ze
d
krnejdd� dS )
zTest editor, coverage 35%.� )�editorN)�requires)�Tkc @ s, e Zd Zedd� �Zedd� �Zdd� ZdS )�EditorWindowTestc C s t d� t� | _| jj� d S )NZgui)r r �rootZwithdraw)�cls� r �B/opt/alt/python36/lib64/python3.6/idlelib/idle_test/test_editor.py�
setUpClass
s zEditorWindowTest.setUpClassc C sB | j j� x$| j jjdd�D ]}| j j|� qW | j j� | ` d S )N�after�info)r Zupdate_idletasksZtkZcallZafter_cancelZdestroy)r �idr r r �
tearDownClass s
zEditorWindowTest.tearDownClassc C s( t | jd�}| j|j| j� |j� d S )N)r )�Editorr �assertEqualZ_close)�self�er r r � test_init s zEditorWindowTest.test_initN)�__name__�
__module__�__qualname__�classmethodr
r r r r r r r s r c @ s e Zd Zdd� ZdS )�EditorFunctionTestc C s@ t j}G dd� d�}d}x"|D ]\}}| j|||�|� qW d S )
Nc @ s e Zd ZdZdS )z:EditorFunctionTest.test_filename_to_unicode.<locals>.dummyzutf-8N)r r r Zfilesystemencodingr r r r �dummy% s r �abc� a𑄑c� a�c� abc� a𑄑c�r r �r r �r r �r r )r r r! r"