. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
| 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/python37/lib64/python3.7/idlelib/idle_test/__pycache__/ |
Upload File : |
B
� f� � @ sf d Z ddlmZ ddlZddlmZ ddlmZ ddlm Z G dd� dej
�Zed krbej
d
d� dS )zTest , coverage 17%.� )�iomenuN)�requires)�Tk)�EditorWindowc @ s4 e Zd Zedd� �Zedd� �Zdd� Zdd� Zd S )
�
IOBindingTestc C s: t d� t� | _| j�� t| jd�| _t�| j�| _d S )NZgui)�root) r r r Zwithdrawr �editwinr Z IOBinding�io)�cls� r �B/opt/alt/python37/lib64/python3.7/idlelib/idle_test/test_iomenu.py�
setUpClass s
zIOBindingTest.setUpClassc C sZ | j �� | j�� | `| j�� x$| jj�dd�D ]}| j�|� q4W | j� � | `d S )NZafter�info)
r �closer Z_closer Zupdate_idletasksZtkZcallZafter_cancelZdestroy)r
�idr r r �
tearDownClass s
zIOBindingTest.tearDownClassc C s | � | jj| j� d S )N)ZassertIsr r )�selfr r r � test_init s zIOBindingTest.test_initc C sz | j }| j}|j}|jj}d | j_||� d� | j`|�dd� ||� d|j � ||�dd�d� ||� d|j � d S )N� g �?�az1.0zend-1cza
) ZassertEqualr Zfixnewlinesr �textZinterp�insertZeol_convention�get)r �eqr Zfixr r r r �test_fixnewlines_end"